Shorthand helper to extract the raw State schema type from an AgentTypeConfig or ReactAgent.
This returns just the stateSchema type passed to createAgent, not merged with middleware.
For the complete merged state (what invoke returns), use InferAgentState.
Shorthand helper to extract the raw State schema type from an AgentTypeConfig or ReactAgent. This returns just the
stateSchematype passed tocreateAgent, not merged with middleware.For the complete merged state (what
invokereturns), use InferAgentState.