fix: increase LLM timeouts for scan corrections (90s) and DSE extraction (120s)

Qwen 3.5:35b needs ~30-60s per call. Multi-call scan was timing out.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-28 16:05:21 +02:00
parent 4c43253a53
commit b175ad2594
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ async def extract_dse_services(dse_text: str) -> list[dict]:
"\"country\": \"USA\", \"legal_basis\": \"Einwilligung\"}]"
)
try:
async with httpx.AsyncClient(timeout=60.0) as client:
async with httpx.AsyncClient(timeout=120.0) as client:
resp = await client.post(f"{SDK_URL}/sdk/v1/llm/chat", headers=SDK_HEADERS, json={
"messages": [
{"role": "system", "content": prompt},