feat(infra): 切換 Ollama 到 M1 Pro 192.168.0.111 + NetworkPolicy 更新
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
- OLLAMA_URL: 188 → 111 (M1 Pro, 40+ tok/s vs 0.45 tok/s) - OPENCLAW_DEFAULT_MODEL: qwen2.5:7b-instruct → deepseek-r1:14b (SRE最強推理) - OPENCLAW_TIMEOUT: 90s → 120s (deepseek-r1:14b 實測最慢 54s) - NetworkPolicy v1.3: 新增 192.168.0.111:11434 egress,移除 188 的 Ollama port Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -160,7 +160,7 @@ class Settings(BaseSettings):
|
||||
# External Services - Four Host Architecture
|
||||
# ==========================================================================
|
||||
OLLAMA_URL: str = Field(
|
||||
default="http://192.168.0.188:11434",
|
||||
default="http://192.168.0.111:11434", # 2026-04-08 ogt: 切換至 M1 Pro (40+ tok/s vs 0.45 tok/s)
|
||||
description="Ollama LLM service URL",
|
||||
)
|
||||
# Deprecated: use OPENCLAW_URL instead
|
||||
@@ -337,11 +337,11 @@ class Settings(BaseSettings):
|
||||
description="OpenClaw AI Agent service URL",
|
||||
)
|
||||
OPENCLAW_DEFAULT_MODEL: str = Field(
|
||||
default="qwen2.5:7b-instruct",
|
||||
description="Default Ollama model for RCA analysis (7B params, better Chinese)",
|
||||
default="deepseek-r1:14b", # 2026-04-08 ogt: SRE最強推理,M1 Pro實測 13 tok/s
|
||||
description="Default Ollama model for RCA analysis",
|
||||
)
|
||||
OPENCLAW_TIMEOUT: int = Field(
|
||||
default=90,
|
||||
default=120, # 2026-04-08 ogt: deepseek-r1:14b 實測最慢 54s,120s 含 buffer
|
||||
description="Timeout for OpenClaw AI calls (seconds)",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user