OoO
|
c83fb4cfa9
|
fix: skip missing code review ollama models
CD Pipeline / deploy (push) Successful in 1m5s
|
2026-06-18 14:34:53 +08:00 |
|
OoO
|
ba5fe06b13
|
fix: update ollama primary host
CD Pipeline / deploy (push) Has been cancelled
|
2026-06-18 14:24:55 +08:00 |
|
OoO
|
03d60c202f
|
V10.579 強化高信心比價安全覆蓋
CD Pipeline / deploy (push) Successful in 1m8s
|
2026-06-04 11:39:33 +08:00 |
|
OoO
|
3f528dade3
|
V10.578 修正 Code Review timeout 誤報
CD Pipeline / deploy (push) Successful in 1m5s
|
2026-06-04 11:32:07 +08:00 |
|
OoO
|
5f7073798a
|
V10.577 補 Code Review Ollama preflight
CD Pipeline / deploy (push) Successful in 1m6s
|
2026-06-04 11:28:03 +08:00 |
|
OoO
|
6ac412716a
|
V10.413 protect code review fallback host
CD Pipeline / deploy (push) Successful in 1m6s
|
2026-05-24 14:05:59 +08:00 |
|
OoO
|
5ea556d406
|
V10.410 tune code review ollama timeouts
CD Pipeline / deploy (push) Successful in 1m4s
|
2026-05-24 13:42:54 +08:00 |
|
OoO
|
717231167f
|
V10.406 shorten code review ollama keepalive
CD Pipeline / deploy (push) Successful in 1m6s
|
2026-05-24 13:24:59 +08:00 |
|
OoO
|
c016200bf4
|
硬封鎖 Gemini API 預設出站
|
2026-05-21 14:45:32 +08:00 |
|
OoO
|
a46396ca7f
|
[V10.350] 關閉 Gemini 預設備援出站
CD Pipeline / deploy (push) Successful in 1m6s
|
2026-05-20 20:10:21 +08:00 |
|
OoO
|
0fc96837f4
|
[V10.284] 預設關閉 Code Review Hermes LLM scan | code_review_pipeline_service.py
CD Pipeline / deploy (push) Successful in 1m1s
|
2026-05-19 22:34:30 +08:00 |
|
OoO
|
840cb0acdb
|
[V10.283] 收斂 Code Review Hermes fast scan prompt | code_review_pipeline_service.py
CD Pipeline / deploy (push) Successful in 1m2s
|
2026-05-19 22:30:05 +08:00 |
|
OoO
|
350022f2ea
|
[V10.282] 補齊 Code Review Hermes 本地模型矩陣 | code_review_pipeline_service.py
CD Pipeline / deploy (push) Successful in 1m1s
|
2026-05-19 22:26:09 +08:00 |
|
OoO
|
f8222006b8
|
[V10.281] 強化 Code Review Ollama 本地備援矩陣 | code_review_pipeline_service.py
CD Pipeline / deploy (push) Successful in 1m3s
|
2026-05-19 22:15:48 +08:00 |
|
OoO
|
03ab276032
|
[V10.279] 收斂 Code Review Ollama 路徑並補 Phase80 gate | code_review, market_intel
CD Pipeline / deploy (push) Has been cancelled
|
2026-05-19 21:57:44 +08:00 |
|
OoO
|
45ae7a3d88
|
修正 Code Review Gemini 備援遙測
CD Pipeline / deploy (push) Successful in 1m6s
|
2026-05-19 12:31:48 +08:00 |
|
OoO
|
2635b22ebc
|
修正缺貨清單手機表頭溢出
CD Pipeline / deploy (push) Successful in 56s
|
2026-05-13 20:16:30 +08:00 |
|
OoO
|
943de8466c
|
feat(p7): Anthropic SDK + Claude Opus 4.7 接 Code Review (feature flag OFF)
CD Pipeline / deploy (push) Has been cancelled
Operation Ollama-First v5.0 / Phase 7 Frontier 升級
services/anthropic_service.py (新檔, 226 行)
- AnthropicService 包裝 + ClaudeResponse dataclass
- Ephemeral prompt cache 5 分鐘 TTL(重複 system_prompt 省 90% 成本)
- usage 解析 input/output/cache_creation/cache_read 四欄位
- ANTHROPIC_API_KEY 未設或 SDK 缺失時 is_available()=False 靜默退化
code_review_pipeline_service.py — _openclaw_assess 加 L1 Claude 分支
- CODE_REVIEW_USE_CLAUDE flag (預設 OFF,等 ANTHROPIC_API_KEY 設定後翻 ON)
- 路由:Claude Opus 4.7 (Arena code Elo 1548) → Gemini → ElephantAlpha 三層
- request_id 串鏈不變
ai_call_logger.py COST_TABLE 補 3 個 Claude 模型:
- claude-opus-4-7: $15/$75 per M tokens (程式碼 #1)
- claude-sonnet-4-6: $3/$15 per M tokens (agentic 平衡)
- claude-haiku-4-5: $0.8/$4 per M tokens (輕量快速)
requirements.txt: 加 anthropic>=0.40.0
.env.example: 加 ANTHROPIC_API_KEY / CODE_REVIEW_USE_CLAUDE / CLAUDE_MODEL
52 unit tests 全綠(22 logger + 18 anthropic + 5 routing + 7 security)
啟用步驟(待統帥手動):
1. .env 加 ANTHROPIC_API_KEY=sk-ant-...
2. CODE_REVIEW_USE_CLAUDE=true + restart momo-app
3. 觀察 ai_calls.cache_read_tokens > 0 確認 cache 生效
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-03 23:31:30 +08:00 |
|