Merge branch 'main' into py_test_tts

This commit is contained in:
hrz
2025-07-24 16:18:39 +08:00
+1 -1
View File
@@ -753,7 +753,7 @@ class ConnectionHandler:
content = response
# 在llm回复中获取情绪表情,一轮对话只在开头获取一次
if emotion_flag and content.strip():
if emotion_flag and content is not None and content.strip():
asyncio.run_coroutine_threadsafe(
textUtils.get_emotion(self, content),
self.loop,