Replies: 1 comment 2 replies
-
Could you provide a simple graph and input example to reproduce this bug? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
my code is raising the below ValueError exception with the message raise ValueError(f"Got unsupported message type: {m}")
I am using Langgraph + Human in the loop implementation.
I checked the state snapshot values and in that the "message_log" attribute is containing BaseMessage() type data, instead of what should be AIMessage()
Because of this, it fails all the above conditions and raises a value error exception
using below versions
langchain 0.2.16
langhain-core 0.2.41
langgraph-0.2.31
langgraph-checkpoint-1.0.14
langgraph-checkpoint-postgres-1.0.11
The above error does not appear if i use below old versions
langchain 0.2.12
langhain-core 0.2.29
langgraph-0.0.5
But I want to use updated versions as I want to also use the postgres saver checkpoint, which requires upgraded versions.
Below is the traceback
Beta Was this translation helpful? Give feedback.
All reactions