fix(alerts): bypass proxy timeout for GCP Ollama
This commit is contained in:
@@ -1137,7 +1137,7 @@ class OpenClawService:
|
||||
|
||||
# 2026-04-29 ogt + Claude Code: 注入 task_type 讓 Ollama 用正確 timeout
|
||||
# 根因: ai_providers/ollama.py:77 讀 context["task_type"] 決定 timeout
|
||||
# - "diagnose"/"force_local" → OLLAMA_DIAGNOSE_TIMEOUT_SECONDS=200s
|
||||
# - "diagnose"/"force_local" → OLLAMA_DIAGNOSE_TIMEOUT_SECONDS
|
||||
# - 其他/未注入 → OPENCLAW_TIMEOUT=30s(不夠 qwen2.5:7b 推理)
|
||||
# webhooks alert_context 從未注入 task_type → Ollama fallback 永遠 30s timeout
|
||||
# 對齊 decision.intent 後 Ollama fallback 真正能跑完
|
||||
|
||||
Reference in New Issue
Block a user