修复Supervisor无法触发的情况

This commit is contained in:
zcr
2026-03-06 16:15:25 +08:00
parent 5106875618
commit d66a870207
8 changed files with 113 additions and 200 deletions

View File

@@ -14,7 +14,7 @@ class ChatRequest(BaseModel):
thread_id: Optional[str] = Field(None, description="会话线程ID不传则开启新会话")
checkpoint_id: Optional[str] = Field(None, description="回溯点的ID用于从历史点开启新对话")
config_params: Optional[AgentConfig] = None
need_suggestion: bool = False
need_suggestion: float = 0
use_report: bool = False # ← 新增:是否使用深度报告