From 5da5a5597bca0fdb4b0bd92960eca53adc773651 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Fri, 24 Apr 2026 00:31:50 +0200 Subject: [PATCH] fix: increase Batch API upload timeout to 600s for large payloads Co-Authored-By: Claude Opus 4.6 (1M context) --- control-pipeline/services/decomposition_pass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control-pipeline/services/decomposition_pass.py b/control-pipeline/services/decomposition_pass.py index 9080d04..5b9a75a 100644 --- a/control-pipeline/services/decomposition_pass.py +++ b/control-pipeline/services/decomposition_pass.py @@ -2247,7 +2247,7 @@ async def create_anthropic_batch( "content-type": "application/json", } - async with httpx.AsyncClient(timeout=60) as client: + async with httpx.AsyncClient(timeout=600) as client: resp = await client.post( f"{ANTHROPIC_API_URL}/messages/batches", headers=headers,