瀏覽代碼

Update agent_service: enable voice for 1688855614633374

StrayWarrior 1 月之前
父節點
當前提交
8aecdb4d2c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pqai_agent/agent_service.py

+ 1 - 1
pqai_agent/agent_service.py

@@ -242,7 +242,7 @@ class AgentService:
                 resp = self._get_chat_response(user_id, agent, message_text)
                 if resp:
                     recent_dialogue = agent.dialogue_history[-10:]
-                    if len(recent_dialogue) < 2 or staff_id not in ('1688855931724582', '1688854492669990'):
+                    if len(recent_dialogue) < 2 or staff_id not in ('1688855931724582', '1688854492669990', '1688855614633374'):
                         message_type = MessageType.TEXT
                     else:
                         message_type = self.response_type_detector.detect_type(