You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue.
I have encountered an issue where the state variable remains unchanged from its initial values and does not get updated during the execution of the workflow. As a result, when I try to access the state in the try block, it does not reflect the updates from the workflow.
Here is a simplified version of my code:
how can i catch the updated state outside?
System Info
how can i catch the updated state?
The text was updated successfully, but these errors were encountered:
I would like to save the latest state when the graph encounters an error. The nodes in the graph update this state as part of the process. However, based on my current code, I noticed that the state always remains as its initial value:
state = {
"document_path": PDF_PATH,
"schema_tool": schema_reader_tool,
}
Even when debugging, I found that the value of the state variable never changes. I would like to capture the latest updates made by the nodes. How can I retrieve the most recent state?
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
I have encountered an issue where the state variable remains unchanged from its initial values and does not get updated during the execution of the workflow. As a result, when I try to access the state in the try block, it does not reflect the updates from the workflow.
Here is a simplified version of my code:
how can i catch the updated state outside?
System Info
how can i catch the updated state?
The text was updated successfully, but these errors were encountered: