修复 ChatGPT Web 生图发起即扣额度

This commit is contained in:
Codex
2026-05-24 18:50:14 +08:00
parent 14b182d09b
commit 66837b7d7f
7 changed files with 207 additions and 51 deletions
@@ -482,7 +482,7 @@ fn chatgpt_web_image_quota_limit_is_legacy_free_default(
if (limit - 25.0).abs() > f64::EPSILON {
return false;
}
remaining.is_some_and(|value| value < limit)
remaining.is_none_or(|value| value < limit)
}
fn model_quota_window_snapshot(