修改等待提示词

This commit is contained in:
sladro 2026-02-02 10:12:35 +08:00
parent 53a69eec51
commit ffe49b574a

View File

@ -232,7 +232,7 @@ class SearchService:
# Note: Method name kept for compatibility, but logic switched to ZhipuAI
# 先回一条提示,避免联网搜索阶段用户感知“卡住”
yield format_sse({'data': '请稍等,我来搜索一下答案…'})
yield format_sse({'data': '稍等片刻,达达检索调取中'})
if not SearchConfig.ZHIPUAI_API_KEY:
yield format_sse({'message': 'Configuration Error: Missing ZHIPUAI_API_KEY. Please set valid API key.'}, event='error')