feat(ai): add guarded Claude fallback route

This commit is contained in:
ogt
2026-07-15 15:57:24 +08:00
parent f57845ba5e
commit 5c5eb48091
56 changed files with 4942 additions and 760 deletions

View File

@@ -960,7 +960,8 @@ async def lifespan(_app: FastAPI) -> AsyncGenerator[None, None]:
logger.warning("ollama_failover_system_start_failed", error=str(e))
# 2026-04-27 P3.2.2 by Claude — AI Provider 版本追蹤(每 1 小時)
# 探測 5 Providerollama/ollama_local/gemini/claude/openclaw_nemo版本
# 探測 5 個 provider inventoryollama/ollama_local/claude/gemini/openclaw_nemo
# 這是版本盤點,不是可重排的 production execution route。
# 寫入 ai_provider_version_history版本變更時 log warningP3.2.3 alerter 後續整合
try: