fix(ai): NVIDIA cost limit /bin/zsh.00 >= /bin/zsh.00 永遠 True Bug
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:
@@ -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, # 不發送成本告警
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user