Like a shared Google Doc where each contributor appends their section rather than overwriting.
AgentState is a TypedDict that flows through every node. The add_messages reducer appends new messages rather than replacing the list.
> AgentState: {messages: [...], next_action: str}
> messages uses add_messages reducer (append semantics)Like a shared Google Doc where each contributor appends their section rather than overwriting.
AgentState is a TypedDict that flows through every node. The add_messages reducer appends new messages rather than replacing the list.
> AgentState: {messages: [...], next_action: str}
> messages uses add_messages reducer (append semantics)Sign in to cast your vote
Sign in to share your feedback and join the discussion.