소스 검색

Update history_dialogue_service: change default limit

StrayWarrior 2 주 전
부모
커밋
ad06d9c7d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'