langchain
c3654202 - fix(langchain): use state schema as input schema to middleware nodes (#33023)

Commit
110 days ago
fix(langchain): use state schema as input schema to middleware nodes (#33023) We want state schema as the input schema to middleware nodes because the conditional edges after these nodes need access to the full state. Also, we just generally want all state passed to middleware nodes, so we should be specifying this explicitly. If we don't, the state annotations used by users in their node signatures are used (so they might be missing fields).
Author
Parents
Loading