fix: embedding 改 cuda + OCR 超时 300s + 重试退避 20s 起 + jitter 防雷群

- config/default.yaml: embed.device cpu → cuda
- adapters/ocr.py: _TIMEOUT_S 15 → 300(5 分钟)
- adapters/llm.py: 指数退避加 ±50% jitter 避免 24 路同时重试
- .env: LLM_RETRY_BASE_DELAY 2→20s, LLM_RETRY_MAX_DELAY 30→120s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 22:14:57 -04:00
parent 38a855b33e
commit 1f83da9eb7
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ embed:
backend: "local"
model_name: "BAAI/bge-base-zh-v1.5"
embed_dim: 768
device: "cpu"
device: "cuda"
# ── Harness 自进化循环 ──
harness: