diff --git a/backend/app/main_graph/state.py b/backend/app/main_graph/state.py index 44c90dd..182ece8 100644 --- a/backend/app/main_graph/state.py +++ b/backend/app/main_graph/state.py @@ -79,7 +79,7 @@ class MainGraphState: # ========== React 推理专用字段 ========== reasoning_step: int = 0 # 当前推理步数 - max_steps: int = 10 # 最大推理步数(≤10) + max_steps: int = 40 # 最大推理步数 last_action: str = "" # 上一步动作 reasoning_history: List[Dict[str, Any]] = field(default_factory=list) # 推理历史 diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 8c343a0..513c56d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -54,9 +54,9 @@ services: # ========================================================================= # 日志调试配置(可通过 .env 覆盖) # ========================================================================= - - LOG_LEVEL=${LOG_LEVEL:-WARNING} - - DEBUG=${DEBUG:-false} - - ENABLE_GRAPH_TRACE=${ENABLE_GRAPH_TRACE:-false} + - LOG_LEVEL=${LOG_LEVEL:-DEBUG} + - DEBUG=${DEBUG:-true} + - ENABLE_GRAPH_TRACE=${ENABLE_GRAPH_TRACE:-true} # ========================================================================= # 应用行为配置