Browse Source

Update agent_service: fix skip_check in normal response

StrayWarrior 4 tháng trước cách đây
mục cha
commit
af7e36c185
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")