[V10.281] 強化 Code Review Ollama 本地備援矩陣 | code_review_pipeline_service.py
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s

This commit is contained in:
OoO
2026-05-19 22:15:48 +08:00
parent f911f96d1a
commit f8222006b8
6 changed files with 185 additions and 41 deletions

View File

@@ -215,6 +215,12 @@ BOT_API_TOKEN=your_bot_api_token_here
# 僅在需要短期關閉自動修復鏈時設為 false
CODE_REVIEW_OLLAMA_MODEL=qwen2.5-coder:7b
CODE_REVIEW_OLLAMA_TIMEOUT=45
CODE_REVIEW_OLLAMA_SECONDARY_MODEL=gemma3:4b
CODE_REVIEW_OLLAMA_SECONDARY_TIMEOUT=25
CODE_REVIEW_OLLAMA_FALLBACK_MODEL=hermes3:latest
CODE_REVIEW_OLLAMA_FALLBACK_TIMEOUT=20
CODE_REVIEW_OLLAMA_NUM_PREDICT=384
CODE_REVIEW_OLLAMA_KEEP_ALIVE=24h
CODE_REVIEW_HERMES_TIMEOUT=35
CODE_REVIEW_HERMES_MAX_FILES=3
CODE_REVIEW_HERMES_MAX_CHARS=2500