refactor(ai): 模組化重構 - NVIDIA chat 移至 NvidiaProvider

符合 feedback_lewooogo_modular_enforcement.md 規範:
- 移除 openclaw.py 中的 _call_nvidia() (重複邏輯)
- 新增 NvidiaProvider.chat() 方法
- 更新 INvidiaProvider Protocol
- openclaw.py 改用 get_nvidia_provider().chat()
- 測試移至 test_nvidia_chat.py

架構層次:
- Router → Service → Provider (正確)
- 禁止 Service 層重複實作已存在的 Provider 功能

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-03-29 20:49:23 +08:00
parent 1eb0be8f3f
commit 04bfff9d19
7 changed files with 333 additions and 194 deletions

View File

@@ -16,7 +16,8 @@
| **Lint 清理** | ✅ **61→0 完全清零** (2e9ccf4) |
| **CD 部署** | ✅ **版本 2e9ccf4 已部署** |
| **CI/CD 修復** | ✅ **雙跳過保護 + Force Deploy 獨立 Concurrency** |
| **Gitea Mirror** | ✅ **B2 備份策略 (192.168.0.110:3001)** 🆕 |
| **Gitea Mirror** | ✅ **B2 備份策略 (192.168.0.110:3001)** |
| **3 Runners** | ✅ **awoooi-110, 110-2, 110-3 全部上線** 🆕 |
| **E2E Health** | 🔍 **診斷中** (VIP reachable, NodePort 32334 不通) |
| **首席架構師審查** | ✅ **91/100 → P1 修復後 95/100** |
| **P1 修復** | ✅ **5/5 完成** (8724ed7) |