Spaces:
Running on Zero
Running on Zero
File size: 436 Bytes
aed39aa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from typing import Optional
from langgraph.graph import MessagesState
class AgentState(MessagesState):
"""
Shared state passed between all nodes in the GAIA agent graph.
Inherits:
messages (Annotated[list[AnyMessage], add_messages]):
Append-only conversation history (HumanMessage, AIMessage, ToolMessage).
"""
task_id: Optional[str] = None
file_name: Optional[str] = None |