Replies: 3 comments 4 replies
-
if you want to update the state directly, you should probably add this as a |
Beta Was this translation helpful? Give feedback.
4 replies
-
I have the same problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@hwchase17 Is there any plan to add capability to update state from tools too in future? Not sure if ToolsMessage will have all the information returned from tools. |
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
-
I have this tool and I want to update the state with what this tool returns.
However, it only returns
Toolmessage
with the return dict incontent
(e.g., messages=[..., Toolmessage(content='{"clarifying_question_answer": answer, "clarifying_question": question, "answer_options": answer_options}'])
What I want to do is to update the graph state with this
{"clarifying_question_answer": answer, "clarifying_question": question, "answer_options": answer_options}
.How can I do that?
Beta Was this translation helpful? Give feedback.
All reactions