From c5e09c47fec93d7764fb17f98d7321478d55dbca Mon Sep 17 00:00:00 2001 From: Eric Hare Date: Tue, 2 Dec 2025 14:11:30 -0800 Subject: [PATCH] Reduce timeout to 60 --- src/api/provider_validation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/provider_validation.py b/src/api/provider_validation.py index ed919277..eb363930 100644 --- a/src/api/provider_validation.py +++ b/src/api/provider_validation.py @@ -429,7 +429,7 @@ async def _test_ollama_completion_with_tools(llm_model: str, endpoint: str) -> N response = await client.post( url, json=payload, - timeout=120.0, # Increased timeout for Ollama when potentially busy + timeout=60.0, # Increased timeout for Ollama when potentially busy ) if response.status_code != 200: @@ -461,7 +461,7 @@ async def _test_ollama_embedding(embedding_model: str, endpoint: str) -> None: response = await client.post( url, json=payload, - timeout=120.0, # Increased timeout for Ollama when potentially busy + timeout=60.0, # Increased timeout for Ollama when potentially busy ) if response.status_code != 200: