Przeglądaj źródła

Update push_service: change history dialogue number

StrayWarrior 4 dni temu
rodzic
commit
d5f009faf3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pqai_agent/push_service.py

+ 1 - 1
pqai_agent/push_service.py

@@ -214,7 +214,7 @@ class PushTaskWorkerPool:
             message_to_user = push_agent.generate_message(
                 context=main_agent.get_prompt_context(None),
                 dialogue_history=self.agent_service.history_dialogue_db.get_dialogue_history_backward(
-                    staff_id, user_id, main_agent.last_interaction_time_ms, limit=100
+                    staff_id, user_id, main_agent.last_interaction_time_ms, limit=30
                 ),
                 query_prompt_template=query_prompt_template
             )