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