From db8014f02436268b37a1536b1f81edc652214cb9 Mon Sep 17 00:00:00 2001 From: zcr Date: Wed, 8 Apr 2026 10:44:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E7=BD=91=E7=BB=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/deep_agent_chat.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/routers/deep_agent_chat.py b/src/routers/deep_agent_chat.py index 1d9edf0..5a17a41 100755 --- a/src/routers/deep_agent_chat.py +++ b/src/routers/deep_agent_chat.py @@ -42,11 +42,16 @@ async def chat_stream(request: DeepAgentChatRequest): * `thread_id`: (可选) 现有项目的唯一标识。若不传,系统将自动分配并返回。 * `checkpoint_id`: (可选) 历史快照 ID。 * `config_params`: (可选) 对话配置参数 + ```json { - 'type':'test', - 'value':'test', - 'style':'test' + "message": "示例", + "config_params": { + "type": "test", + "value": "test", + "style": "test" + } } + ``` * `need_suggestion`: (可选) 是否需要建议按钮,需要建议的频率,0-1的浮点数 * `use_report`: (可选) 是否需要使用report功能 true/false