initialize_agent with zero_shot_react_description, talks to itself, produces conversational buffer memory issues #9392
Replies: 1 comment
-
🤖 Hello, From the error logs you've provided, it seems like the issue is related to the LangChain's memory management when dealing with user messages. Specifically, the error is thrown when trying to validate the The error message This could be due to several reasons:
To debug this issue, you could add logging statements in your application to log the content of the user messages before they are passed to the If the issue persists, please provide more information about how you're initializing the Best, Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running the executor off a flask backend, and when the answer from the llm to my number is POSTED, strangely, the agent begins to talk to itself, with seemingly no human message. I store all the messages within the executor's memory, and this is the error that it throws:
2023-08-17 14:05:05.122663
+122*******(my number)
Beta Was this translation helpful? Give feedback.
All reactions