chore: long timeout for non-local LLM

This commit is contained in:
2026-01-20 11:55:00 +01:00
parent 5ed751de8c
commit 651f1b74a6

View File

@@ -212,7 +212,7 @@ class LLMAgent(BaseAgent):
:yield: Raw text tokens (deltas) from the SSE stream.
:raises httpx.HTTPError: If the API returns a non-200 status.
"""
async with httpx.AsyncClient() as client:
async with httpx.AsyncClient(timeout=httpx.Timeout(20.0)) as client:
async with client.stream(
"POST",
settings.llm_settings.local_llm_url,