File size: 264 Bytes
b0540b3
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from typing import Annotated
from typing_extensions import TypedDict
from langgraph.graph.message import add_messages

class State(TypedDict):
    """
    Represents the structure of the state used in the graph.
    """
    messages: Annotated[list, add_messages]