jack 3 달 전
부모
커밋
383184552d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/core/runner/llm_backend.py

+ 1 - 0
app/core/runner/llm_backend.py

@@ -68,6 +68,7 @@ class LLMBackend:
         for message in chat_params["messages"]:
             if "content" not in message:
                 message["content"] = ""
+        chat_params["timeout"] = 120
         logging.info("chat_params: %s", chat_params)
         response = self.client.chat.completions.create(**chat_params)
         logging.info("chat_response: %s", response)