From ce3c384b0068934b83b098e014b1505026ba1d5d Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 29 May 2026 13:39:17 +0800 Subject: [PATCH] Adjust user speech timeout and enhance idle prompt settings in fastgpt.state.xfyun.json and siliconflow.json --- config/fastgpt.state.xfyun.json | 2 +- config/siliconflow.json | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/config/fastgpt.state.xfyun.json b/config/fastgpt.state.xfyun.json index 95a3287..33c8206 100644 --- a/config/fastgpt.state.xfyun.json +++ b/config/fastgpt.state.xfyun.json @@ -42,7 +42,7 @@ "你好", "在吗" ], - "user_speech_timeout_sec": 0.8, + "user_speech_timeout_sec": 0.2, "idle_prompt_timeout_sec": 3.0, "idle_prompt_max_count": 3, "idle_prompt_text": "你好,请问还在吗?" diff --git a/config/siliconflow.json b/config/siliconflow.json index 46fc62f..0b30d90 100644 --- a/config/siliconflow.json +++ b/config/siliconflow.json @@ -40,12 +40,21 @@ "没有", "否" ], - "user_speech_timeout_sec": 0.2 + "user_speech_timeout_sec": 0.2, + "idle_prompt_timeout_sec": 3.0, + "idle_prompt_max_count": 3, + "idle_prompt_text": "你好,请问还在吗?" }, "agent": { "system_prompt": "你是一个有用的语音对话助手名字叫小白", "greeting": "你好,我是小白,请问有什么可以帮你?", - "greeting_mode": "fixed" + "greeting_mode": "fixed", + "response_state": { + "enabled": false, + "tag": "state", + "event_type": "response.state", + "max_prefix_chars": 256 + } }, "services": { "stt": {