Spaces:
Sleeping
Sleeping
File size: 303 Bytes
5dfcdef |
1 2 3 4 5 6 7 8 9 10 11 12 |
from typing import Optional
from langgraph.graph import MessagesState
# Define the state type with annotations
class AgentState(MessagesState):
system_message: str
last_ai_message: str
question: str
file_name: str
final_answer: str
ready_to_answer: bool
error: Optional[str] |