Increase timeout for chat completion calls

This commit is contained in:
Kunal Karmakar
2026-03-06 18:12:46 +00:00
parent 13236ccd38
commit 7e4594e08d

View File

@@ -120,7 +120,7 @@ class AzureOpenAIProvider(LLMProvider):
) )
try: try:
async with httpx.AsyncClient() as client: async with httpx.AsyncClient(timeout=60.0) as client:
response = await client.post(url, headers=headers, json=payload) response = await client.post(url, headers=headers, json=payload)
if response.status_code != 200: if response.status_code != 200:
return LLMResponse( return LLMResponse(