Procházet zdrojové kódy

Update agent_service: fix skip_check in normal response

StrayWarrior před 3 měsíci
rodič
revize
af7e36c185
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      pqai_agent/agent_service.py

+ 1 - 1
pqai_agent/agent_service.py

@@ -319,7 +319,7 @@ class AgentService:
                     item["type"] = message_type
         if contents:
             for response in contents:
-                self.send_multimodal_response(staff_id, user_id, response, skip_check=True)
+                self.send_multimodal_response(staff_id, user_id, response)
             agent.update_last_active_interaction_time(current_ts)
         else:
             logger.debug(f"staff[{staff_id}], user[{user_id}]: no messages to send")