add tool_done in state

This commit is contained in:
2025-12-29 22:40:57 +08:00
parent 18bb795dd3
commit 216b41e471

View File

@@ -14,3 +14,4 @@ class ChattyToolState(TypedDict):
Dict[str, Dict[str, str|int]]] Dict[str, Dict[str, str|int]]]
tool_messages: List[SystemMessage | HumanMessage | AIMessage] tool_messages: List[SystemMessage | HumanMessage | AIMessage]
chatty_messages: List[SystemMessage | HumanMessage | AIMessage] chatty_messages: List[SystemMessage | HumanMessage | AIMessage]
tool_done: bool # Flag to signal when tool execution is complete