-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected State Update #3266
Comments
@Sarthak-ONS that's because in your example the LLM is populating the state field (and it's hallucinating the video path). to propagate actual graph state you need to use |
After going through this documentation, State update isn't happening In trim_video tool, I am trying to update the state, But state update isn't happening, After trim I am trying to call get_video_url its returning, initial video_path only, similarly for the get_video_duration also |
can you provide some langsmith traces / boil the code down to a minimum reproducible example? |
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
No response
Description
Unexpected State Change,
Initially, When, call_model is called, value of state["video_path"] is correct("video.mp4"), but when there is a tool call, unexpectedly, state is being updated, and print inside the trim_video tool says state["video_path"] is "sample_video.mp4"
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: