-
fix(langgraph): Tidy up `AgentState` (#5801)
发布于
2025-08-03 11:12:53 +00:00 Fixes https://github.com/langchain-ai/langgraph/issues/5784
- Removes usage of
is_last_step, no longer needed with
remaining_steps - Make
remaining_stepsNotRequiredso that json schema doesn't
suggest need for user input - Move
PregelScratchpadto shared utils file to prevent circular
import issue (it's used fromchannels/managedand other pregel files). - Ensures that managed values wrapped in
NotRequiredorRequiredare
still recognized!
下载附件
- Removes usage of