|
@@ -150,7 +150,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:
|
|
|
+ if len(recent_dialogue) < 2 or staff_id not in ('1688855931724582', '1688854492669990'):
|
|
|
message_type = MessageType.TEXT
|
|
|
else:
|
|
|
message_type = self.response_type_detector.detect_type(
|