Replies: 3 comments
-
The error you're encountering suggests there's a mismatch in the expected format for the To address this, ensure that:
Additionally, you mentioned using Python 3.0, but LangChain requires Python version ">=3.8.1,<4.0". Upgrading your Python version to at least 3.8.1 might resolve some compatibility issues. If these steps don't resolve the issue, please check how you're storing and retrieving the conversation history, including the serialization and deserialization process, and ensure it aligns with the expected
|
Beta Was this translation helpful? Give feedback.
-
@octadion Did you ever figure this out? |
Beta Was this translation helpful? Give feedback.
-
@octadion did you manage to add? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
i want to include history on my agent so it can answer based on previous conversations, but based on the code I created, I get an error:
ValueError: variable history should be a list of base messages, got
Any idea? thank you!
System Info
"pip freeze"
platform (windows)
python version (3.0)
langchain:
langchain==0.1.13
langchain-community==0.0.29
langchain-core==0.1.34
langchain-openai==0.1.1
langchain-text-splitters==0.0.1
langsmith==0.1.33
Beta Was this translation helpful? Give feedback.
All reactions