abtsousa
Add agent module with configuration and state management
1a1f4af
raw
history blame contribute delete
233 Bytes
from typing import Literal, TypedDict, Sequence, Annotated
from langgraph.graph import add_messages
from langchain_core.messages import BaseMessage
class State(TypedDict):
messages: Annotated[Sequence[BaseMessage], add_messages]