mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-12 10:04:45 +08:00
feat: support multi-language
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
import operator
|
||||
from typing import Annotated
|
||||
|
||||
from langgraph.graph import MessagesState
|
||||
from typing import Annotated
|
||||
|
||||
from src.prompts.planner_model import Plan
|
||||
|
||||
|
||||
@@ -12,6 +13,7 @@ class State(MessagesState):
|
||||
"""State for the agent system, extends MessagesState with next field."""
|
||||
|
||||
# Runtime Variables
|
||||
locale: str = "en-US"
|
||||
observations: Annotated[list[str], operator.add] = []
|
||||
plan_iterations: int = 0
|
||||
current_plan: Plan | str = None
|
||||
|
||||
Reference in New Issue
Block a user