CaIon
5c4ed5be99
fix(billing): use tieredQuota fallback in composeTieredTextQuota error path
...
Remove the intermediate branch that recomputed quota from
EstimatedQuotaBeforeGroup when tieredResult is nil. This discarded the
FinalPreConsumedQuota fallback that TryTieredSettle already selected.
Now the error path simply adds tool surcharges to the passed-in
tieredQuota, preserving the existing fallback semantics.
Also removes unrelated mise.toml and adds a test covering the error
fallback with a pre-consumed quota that differs from the estimate.
2026-04-23 18:59:48 +08:00
..
2026-03-01 15:47:03 +08:00
2025-10-11 15:30:09 +08:00
2025-06-07 12:26:23 +08:00
2026-03-17 16:59:25 +08:00
2026-02-07 01:15:59 +08:00
2026-03-29 02:22:24 +08:00
2026-02-22 23:30:02 +08:00
2026-03-29 02:22:24 +08:00
2025-12-13 18:09:10 +08:00
2026-01-12 18:47:45 +08:00
2026-01-14 22:29:43 +08:00
2026-02-17 18:00:10 +08:00
2026-02-17 18:00:10 +08:00
2026-01-14 22:29:43 +08:00
2026-04-04 20:21:13 +08:00
2025-10-11 15:30:09 +08:00
2025-10-11 15:30:09 +08:00
2026-02-12 14:58:17 +08:00
2026-02-22 16:00:27 +08:00
2026-04-02 16:40:45 +08:00
2026-04-06 15:54:55 +08:00
2026-02-06 23:41:51 +08:00
2025-10-30 21:16:42 +08:00
2026-01-15 14:43:53 +08:00
2025-12-30 17:52:57 +08:00
2026-04-02 16:40:45 +08:00
2026-04-02 00:39:13 +08:00
2026-02-22 20:34:25 +08:00
2025-10-11 15:30:09 +08:00
2026-01-11 21:38:07 +08:00
2026-01-26 19:57:41 +08:00
2026-04-02 00:39:13 +08:00
2025-10-11 15:30:09 +08:00
2025-08-15 16:54:26 +08:00
2026-02-03 17:40:43 +08:00
2026-03-02 22:01:53 +08:00
2026-04-06 15:54:55 +08:00
2026-03-02 17:11:57 +08:00
2025-10-11 15:30:09 +08:00
2026-04-23 18:59:48 +08:00
2026-04-23 18:59:48 +08:00
2026-03-17 16:59:25 +08:00
2026-03-17 16:59:25 +08:00
2026-04-06 15:54:55 +08:00
2025-12-02 21:38:58 +08:00
2025-12-02 21:34:39 +08:00
2026-03-17 16:59:25 +08:00
2025-12-02 21:34:39 +08:00
2026-03-02 22:01:53 +08:00
2026-02-23 22:02:59 +08:00
2025-10-11 15:30:09 +08:00