Replies: 2 comments
-
This PR #1608 adds support for pydantic v1 based states. Please take a look and suggest any changes. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, this has been added. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use pydantic state and ToolNode, I get following error.
langgraph\prebuilt\tool_node.py", line 143, in _parse_input
elif messages := input.get("messages", []):
^^^^^^^^^
AttributeError: 'MyState' object has no attribute 'get'
Can we add support for pydantic state object in ToolNode class?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions