Skip to content

Issue with state_modifier in create_react_agent #1703

Answered by vbarda
luizzappa asked this question in Q&A
Discussion options

You must be logged in to vote

you need to pass state_schema to create_react_agent as well to make sure that agent is aware of the new schema you want to support, just make sure to subclass it from MessagesState. hope this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@luizzappa
Comment options

Answer selected by luizzappa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants