Commit Graph

3 Commits

Author SHA1 Message Date
Keysat 87b6b05d67 Add request timeout and retry to Gemini extraction backend
A timeout-less generate_content call hung the single-threaded extract worker for ~50 min mid-batch. Set an HTTP timeout (120s) plus 4 retries with backoff, mirroring SparkControl._post; transient 504/read-timeouts now self-heal instead of freezing the run.
2026-06-16 08:45:12 -05:00
Keysat e8d50efdf4 Disable Gemini thinking budget in extraction backend
gemini-2.5-flash thinks by default and spent ~3.8k of the 4k output budget on reasoning, hitting MAX_TOKENS with a truncated JSON body -> 0 claims parsed. Set thinking_budget=0 so the full budget goes to the answer (mirrors the local path's enable_thinking=False). On the validation chunk this went from 0 -> 11 claims.
2026-06-15 22:28:12 -05:00
Keysat a6aec77506 Initial commit: Ten31 Signal Engine (ingest, scoring brain, corpus seeds) 2026-06-15 09:24:29 -05:00