Spaces:
Runtime error
Runtime error
File size: 370 Bytes
927c050 | 1 2 3 4 5 6 7 8 9 10 11 12 | from typing import Annotated, Optional
from typing_extensions import TypedDict
from langgraph.graph.message import AnyMessage, add_messages
from langgraph.managed.is_last_step import RemainingSteps
class State(TypedDict):
customer_id: Optional[str]
messages: Annotated[list[AnyMessage], add_messages]
loaded_memory: str
remaining_steps: RemainingSteps
|