From 7e4594e08dc74ab438d3d903a1fac6441a498615 Mon Sep 17 00:00:00 2001 From: Kunal Karmakar Date: Fri, 6 Mar 2026 18:12:46 +0000 Subject: [PATCH] Increase timeout for chat completion calls --- nanobot/providers/azure_openai_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanobot/providers/azure_openai_provider.py b/nanobot/providers/azure_openai_provider.py index fc8e950..6da37e7 100644 --- a/nanobot/providers/azure_openai_provider.py +++ b/nanobot/providers/azure_openai_provider.py @@ -120,7 +120,7 @@ class AzureOpenAIProvider(LLMProvider): ) 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) if response.status_code != 200: return LLMResponse(