fix(model-registry): fallback config 更新為 deepseek-r1:14b + gemma3:4b
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 13m20s

- model_registry._get_default_config: ollama summary llama3.2:3b → gemma3:4b
- model_registry._get_default_config: ollama default/rca → deepseek-r1:14b
- 修正 test_smart_router::test_simple_context 失敗 (斷言 gemma3:4b)
- alert_rule_engine: 移除 asyncio/time unused import
- 2026-04-09 ogt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-09 09:52:47 +08:00
parent c51d7ef336
commit 89da2d24be
2 changed files with 4 additions and 5 deletions

View File

@@ -20,10 +20,8 @@ OpenClaw 告警規則匹配引擎
from __future__ import annotations
import asyncio
import json
import re
import time
from datetime import datetime
from functools import lru_cache
from pathlib import Path

View File

@@ -119,11 +119,12 @@ class ModelRegistry:
# 2026-03-29 ogt: P2-3 加入 Tool Calling Fallback (ADR-036)
"tool_calling_fallback_order": ["nvidia", "gemini", "claude"],
"providers": {
# 2026-04-08 ogt: 切換到 M1 Pro (192.168.0.111)deepseek-r1:14b + gemma3:4b
"ollama": {
"models": {
"default": "qwen2.5:7b-instruct",
"rca": "qwen2.5:7b-instruct",
"summary": "llama3.2:3b",
"default": "deepseek-r1:14b",
"rca": "deepseek-r1:14b",
"summary": "gemma3:4b",
}
},
# 2026-03-28 ogt: 更新到 gemini-2.0-flash (1.5 已停用)