[PR #5973] chore(prebuilt): clean up public state #4759

Closed
opened 2026-02-20 17:50:42 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/5973

State: closed
Merged: Yes


precursor to prepare_call PR, cleaning up existing logic w/ pre model hook

  • use one combined AgentState instead of the one w/ and w/o structured response
  • remove exposed pydantic agent state + loosen bounds on state type
  • remove llm input messages pattern, should be made possible with prepare_call

also

  • some remaining test fixes in langgraph to adapt to new model node name (used to be agent)
**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/5973 **State:** closed **Merged:** Yes --- precursor to `prepare_call` PR, cleaning up existing logic w/ pre model hook * use one combined `AgentState` instead of the one w/ and w/o structured response * remove exposed pydantic agent state + loosen bounds on state type * remove llm input messages pattern, should be made possible with prepare_call also * some remaining test fixes in `langgraph` to adapt to new `model` node name (used to be `agent`)
yindo added the pull-request label 2026-02-20 17:50:42 -05:00
yindo closed this issue 2026-02-20 17:50:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#4759