OG T
ae21ba2cc6
feat(ai): Phase 20 P3 優化 - Circuit Breaker + 指數退避 + Prometheus
P3-1: Circuit Breaker 狀態機 (CLOSED/OPEN/HALF_OPEN)
- 連續 3 次失敗觸發斷路
- 60 秒後自動嘗試恢復
- 防止連鎖故障
P3-2: 指數退避重試
- 基礎延遲 1s,最大 30s
- 含 10% jitter 避免雷鳴
P3-3: Prometheus Metrics
- nvidia_tool_call_requests_total (status, tool_name)
- nvidia_tool_call_latency_seconds (histogram)
- nvidia_circuit_breaker_state_changes_total
測試: 25 → 34 PASSED
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 01:49:08 +08:00
..
2026-03-25 23:14:24 +08:00
2026-03-23 23:51:37 +08:00
2026-03-29 01:48:59 +08:00
2026-03-29 00:00:08 +08:00
2026-03-26 16:06:20 +08:00
2026-03-29 01:24:17 +08:00
2026-03-26 18:44:30 +08:00
2026-03-27 10:07:30 +08:00
2026-03-24 09:20:56 +08:00
2026-03-25 23:14:24 +08:00
2026-03-29 01:49:08 +08:00
2026-03-26 11:22:47 +08:00
2026-03-27 09:33:13 +08:00
2026-03-28 23:47:18 +08:00
2026-03-23 23:51:37 +08:00
2026-03-28 18:51:52 +08:00