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


class State(TypedDict):
    """

    Represent the structure of the state used in graph

    """
    messages: Annotated[List,add_messages]