Files
pp-qa-km/config/models.yaml

27 lines
958 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Ollama 連線與模型設定 — 唯一設定來源AGENTS.md §1.2
# 換模型只改本檔,不動任何程式碼。缺欄位時程式報錯,不使用隱含預設值。
#
# 供應鏈限制AGENTS.md §1.3):禁用中國關聯模型(本機已裝的 qwen3.5、
# glm-5.2、minimax-m3 皆不可用),且禁止任何 `:cloud` 後綴模型(雲端執行,
# 內容離開本機,違反資料落地)。
ollama:
base_url: "http://localhost:11434"
timeout_seconds: 300
tasks: # 依任務指定模型,全部可調
ingest:
model: "gemma4:12b" # Phase 0 已確認:合規本地模型中最強者
temperature: 0.2
max_retries: 3
lint:
model: "gemma4:12b"
temperature: 0.1
max_retries: 3
fallback:
model: "hermes3:8b" # 主模型格式驗證連續失敗時切換
limits:
mcp_response_max_tokens: 2000
ingest_chunk_max_chars: 12000 # 超長文件的分段攝入門檻