Parcourir la source

Update history_dialogue_service: change default limit

StrayWarrior il y a 2 semaines
Parent
commit
ad06d9c7d9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      history_dialogue_service.py

+ 1 - 1
history_dialogue_service.py

@@ -12,7 +12,7 @@ class HistoryDialogueService:
     def __init__(self, base_url: str):
         self.base_url = base_url
 
-    def get_dialogue_history(self, staff_id: str, user_id: str, max_count: int = 10):
+    def get_dialogue_history(self, staff_id: str, user_id: str, max_count: int = 100):
         url = f"{self.base_url}?sender={staff_id}&receiver={user_id}&limit={max_count}"
         response = requests.post(url, headers={
             'Content-Type': 'application/json'