Giustino Esposito
Refactored code
d5ccf60
raw
history blame contribute delete
222 Bytes
from typing import TypedDict, Annotated
from langchain_core.messages import AnyMessage
from langgraph.graph.message import add_messages
class AgentState(TypedDict):
messages: Annotated[list[AnyMessage], add_messages]