Reduce timeout to 60

This commit is contained in:
Eric Hare 2025-12-02 14:11:30 -08:00
parent 133b59c2c6
commit c5e09c47fe
No known key found for this signature in database
GPG key ID: A73DF73724270AB7

View file

@ -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: