Kevin
f4bad9aada
fix: recognize Venice 402 billing errors for model fallback
...
Venice returns "Insufficient USD or Diem balance" which has extra
words between "insufficient" and "balance", causing the billing
pattern `"insufficient balance"` (substring match) to miss it.
Change the pattern to a regex `/insufficient\b.*\bbalance/i` so
providers that insert qualifier words (e.g. "USD or Diem") between
"insufficient" and "balance" are still classified as billing errors
and trigger model fallback.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 22:07:05 +03:00
..
2026-03-10 23:40:10 +00:00
2026-03-11 22:07:05 +03:00
2026-03-11 21:08:55 +03:00
2026-03-11 00:49:31 +03:00
2026-03-03 02:53:13 +00:00
2026-03-11 01:35:04 +00:00
2026-03-11 09:13:10 -04:00
2026-03-11 14:52:55 +00:00
2026-03-11 21:54:49 +03:00
2026-03-09 08:15:35 -07:00
2026-03-10 21:41:56 -05:00
2026-03-09 08:37:37 +00:00
2026-03-11 01:43:06 +00:00
2026-03-11 14:17:01 +01:00
2026-03-08 19:07:28 +03:00
2026-03-05 09:38:12 +01:00
2026-03-10 22:20:19 +00:00
2026-03-11 10:21:35 -05:00
2026-03-10 23:40:10 +00:00
2026-03-10 01:40:15 +03:00
2026-03-07 16:50:35 +00:00
2026-03-09 03:49:50 +00:00
2026-03-08 05:12:48 +00:00
2026-03-11 15:06:21 -04:00
2026-03-11 02:45:10 +00:00
2026-03-08 02:16:03 +00:00
2026-03-11 23:15:48 +05:30
2026-03-11 14:17:01 +01:00
2026-03-10 22:18:04 +00:00
2026-03-09 06:09:33 +00:00
2026-03-08 02:16:03 +00:00
2026-03-06 11:21:03 -05:00
2026-03-11 01:31:06 -04:00
2026-03-10 13:54:23 +08:00
2026-03-09 04:19:03 +01:00
2026-03-08 00:05:24 +00:00
2026-03-07 23:35:55 +00:00
2026-03-11 00:07:47 +00:00
2026-03-11 21:36:43 +05:30
2026-03-11 09:13:10 -04:00
2026-03-11 01:43:06 +00:00
2026-03-11 23:15:48 +05:30
2026-03-08 16:17:28 -07:00
2026-03-05 20:05:59 -06:00
2026-03-07 23:31:25 +00:00
2026-03-10 22:20:19 +00:00
2026-03-03 00:15:15 +00:00
2026-03-11 14:52:55 +00:00
2026-03-08 17:57:46 -07:00
2026-03-08 02:55:15 +00:00
2026-03-08 16:07:04 -07:00
2026-03-08 16:07:04 -07:00
2026-03-09 19:14:08 -04:00
2026-03-08 19:10:48 +03:00
2026-03-09 08:33:58 +00:00
2026-03-02 19:57:33 +00:00
2026-03-05 19:24:43 -05:00
2026-03-05 19:24:43 -05:00
2026-03-05 19:24:43 -05:00
2026-03-03 02:41:52 -05:00
2026-03-03 02:41:52 -05:00