Falgunisharma Claude Opus 4.6 (1M context) commited on
Commit
c170a1a
·
1 Parent(s): 5f6895d

Fix timeout: add LLM/HTTP timeouts, reduce retries, compact prompts (16s total runtime)

Browse files

Fixes Phase 2 validation failure (inference.py exceeded 30min).
- LLM timeout: 30s per call
- HTTP timeout: 15s per call
- Retries: 2 with 3s flat delay (was 5 with exponential up to 80s)
- System prompt reduced from ~400 to ~120 tokens
- Max output tokens: 100 (was 256)
- Total runtime: 16.7s (was potentially 75min+ on slow endpoints)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

1 file changed +78 -81
inference.py+78-81