修复 title 总结失败bug,新增enable_thinking参数

This commit is contained in:
zcr
2026-03-23 16:52:11 +08:00
parent d5ef985e52
commit 7c23d16ea6
5 changed files with 20 additions and 15 deletions

View File

@@ -11,6 +11,7 @@ class AgentConfig(BaseModel):
class DeepAgentChatRequest(BaseModel):
message: str = Field(..., description="用户的输入指令")
enable_thinking: Optional[bool] = Field(default=False, description="是否开启思考模式")
quote_image_path: Optional[str] = Field(None, description="引用图片地址") # ✅ 新增
input_image_paths: Optional[list[str]] = Field(None, description="上传图片地址集合") # ✅ 新增
thread_id: Optional[str] = Field(None, description="会话线程ID不传则开启新会话")