统一网络
This commit is contained in:
@@ -44,10 +44,10 @@ async def chat_stream(request: DeepAgentChatRequest):
|
|||||||
* `config_params`: (可选) 对话配置参数
|
* `config_params`: (可选) 对话配置参数
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"message": "示例",
|
"message": "你好",
|
||||||
"config_params": {
|
"config_params": {
|
||||||
"type": "test",
|
"type": "test",
|
||||||
"value": "test",
|
"region": "test",
|
||||||
"style": "test"
|
"style": "test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,10 @@ class DeepAgentChatRequest(BaseModel):
|
|||||||
input_image_paths: Optional[list[str]] = Field(None, description="上传图片地址集合") # ✅ 新增
|
input_image_paths: Optional[list[str]] = Field(None, description="上传图片地址集合") # ✅ 新增
|
||||||
thread_id: Optional[str] = Field(None, description="会话线程ID,不传则开启新会话")
|
thread_id: Optional[str] = Field(None, description="会话线程ID,不传则开启新会话")
|
||||||
checkpoint_id: Optional[str] = Field(None, description="回溯点的ID,用于从历史点开启新对话")
|
checkpoint_id: Optional[str] = Field(None, description="回溯点的ID,用于从历史点开启新对话")
|
||||||
config_params: Optional[AgentConfig] = None
|
config_params: Optional[AgentConfig] = Field(
|
||||||
|
default=None,
|
||||||
|
description="Agent 配置参数(type/region/style 等)"
|
||||||
|
)
|
||||||
need_suggestion: float = 0
|
need_suggestion: float = 0
|
||||||
use_report: bool = False # ← 新增:是否使用深度报告
|
use_report: bool = False # ← 新增:是否使用深度报告
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user