Browse Source

Update agent_service: fix skip_check in normal response

StrayWarrior 1 month ago
parent
commit
af7e36c185
1 changed files with 1 additions and 1 deletions
  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")