Преглед на файлове

Update agent_service: fix skip_check in normal response

StrayWarrior преди 4 месеца
родител
ревизия
af7e36c185
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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")