fix(ai): NVIDIA cost limit /bin/zsh.00 >= /bin/zsh.00 永遠 True Bug
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 4m43s
E2E Health Check / e2e-health (push) Successful in 20s

2026-03-31 ogt: 修復免費 Tier 設定 total_cost_usd: 0.0
導致 current_cost >= cost_limit 永遠成立的問題。
改用 999999.0 表示無成本限制。

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-03-31 11:08:08 +08:00
parent b31e079e41
commit f771931aa0

View File

@@ -59,8 +59,9 @@ COST_LIMITS = {
"alert_threshold_usd": 8.0,
},
# 2026-03-29 ogt: ADR-036 Nemotron (免費 Tier設定低限制作為監控)
# 2026-03-31 ogt: 修復 $0.00 >= $0.00 永遠 True 的 Bug改用大數值表示無限制
"nvidia": {
"total_cost_usd": 0.0, # 免費 Tier,不計費
"total_cost_usd": 999999.0, # 免費 Tier 無成本限制
"alert_threshold_usd": 0.0, # 不發送成本告警
},
}