john-adeojo / graph_websearch_agent

Websearch agent built on the LangGraph framework
MIT License
131 stars 58 forks source link

previous_selections_value format #3

Closed manjaroblack closed 3 weeks ago

manjaroblack commented 1 month ago

When building the prompt for the researcher_agent, the previous_selections_value is being passed to create the prompt in format below. IMG_0177 The agent isn’t parsing the HumanMessage content properly. I’m not certain, but perhaps because this is a list of multiple elements the check_for_content() function isn’t parsing the content from the previous_selections_value properly.

manjaroblack commented 1 month ago

@tradingartofwar your comment is irrelevant to this issue. If you need assistance, you can reach out to the community, but please refrain from adding irrelevant comments to this issue.

I have had so many issues trying to get my Openai api key to work. I feel like I have tried everything. double checked key, made a new key, exported in env, double checked env variables in the config file, made sure it is in the right folder, made sure the instructions to it are right. I'm sure this is because of my inexperience as a developer, but any ideas would be useful.