Files
openclaw/src
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-10 23:40:10 +00:00