zlwu 4 tháng trước cách đây
mục cha
commit
2c3031fdb2
1 tập tin đã thay đổi với 2 bổ sung và 2 xóa
  1. 2 2
      backend/ai_service.py

+ 2 - 2
backend/ai_service.py

@@ -424,7 +424,7 @@ Output ONLY the greeting line.
                 f"用户输入={user_text[:100]}... (前100字符), "
                 f"堆栈跟踪:\n{traceback.format_exc()}"
             )
-            yield ("I'm sorry, I'm having trouble understanding. Could you please repeat that?", "neutral")
+            yield ("", "neutral")
     
     def _is_complete_sentence(self, text: str) -> bool:
         """检测是否完整句子"""
@@ -535,7 +535,7 @@ Output ONLY the greeting line.
                 f"用户输入={user_text[:100]}... (前100字符), "
                 f"堆栈跟踪:\n{traceback.format_exc()}"
             )
-            return ("I'm sorry, I'm having trouble understanding. Could you please repeat that?", "neutral")
+            return ("", "neutral")
     
     async def text_to_speech_stream(
         self, text: str, emotion: EmotionType = "neutral"