Savanne Kham
4117fc3645
fix(credential-pool): correct pool rotation when weekly usage limit is reached
...
After key #1 is marked exhausted the retry still called the API with key #1
due to env-var bias in _get_cached_client / resolve_api_key_provider_credentials.
Fix: peek the pool and pass the active entry's key as explicit_api_key.
Secondary: api_key_hint in mark_exhausted_and_rotate pins the correct entry
under concurrent CLI+gateway calls; _is_payment_error matches GoUsageLimitError;
extract_api_error_context parses "Resets in Xhr Ymin".
2026-05-25 06:32:30 -07:00
..
2026-05-24 23:23:12 -07:00
2026-05-18 10:14:38 -07:00
2026-05-25 06:06:51 -07:00
2026-05-25 05:35:02 -07:00
2026-05-25 01:15:56 -07:00
2026-05-25 12:25:06 +10:00
2026-05-22 14:21:41 -07:00
2026-05-25 05:34:31 -07:00
2026-05-25 05:50:29 -07:00
2026-05-17 23:28:45 -07:00
2026-05-17 02:29:41 -07:00
2026-05-22 14:21:41 -07:00
2026-05-25 01:41:19 -07:00
2026-05-21 07:48:53 -07:00
2026-05-25 06:32:30 -07:00
2026-05-14 22:27:09 -07:00
2026-05-19 00:11:44 -07:00
2026-05-18 21:07:03 -07:00
2026-05-25 06:13:36 -07:00
2026-05-17 02:29:41 -07:00
2026-05-23 02:20:14 -07:00
2026-05-25 03:06:39 -07:00
2026-05-18 21:43:59 -07:00
2026-05-12 20:46:04 -07:00
2026-05-22 03:32:58 -07:00
2026-05-14 14:51:07 -07:00
2026-05-08 14:43:13 -07:00
2026-05-20 22:56:55 -07:00
2026-05-19 01:28:32 -07:00
2026-05-09 02:09:35 -07:00
2026-05-23 01:33:42 -07:00
2026-05-14 09:05:31 -07:00
2026-05-14 07:08:45 -07:00
2026-05-07 13:04:08 -07:00
2026-05-08 14:27:40 -07:00
2026-05-17 02:29:41 -07:00
2026-05-07 13:41:16 -07:00
2026-05-22 15:16:15 -07:00
2026-05-15 10:36:38 +05:30
2026-05-16 12:15:45 -07:00
2026-05-18 20:35:00 -07:00
2026-05-21 16:40:04 +05:30
2026-05-16 00:57:39 -07:00
2026-05-18 17:39:50 +00:00
2026-05-07 13:04:08 -07:00
2026-05-17 02:29:41 -07:00
2026-05-14 08:03:33 -07:00
2026-05-23 22:12:55 -07:00