From 2c6ba98920350b1c517fab95637581a1de65ac09 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 8 Mar 2026 02:14:39 +0900 Subject: [PATCH] fix(runtime-fallback): match cooldown retry status messages Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- src/hooks/runtime-fallback/constants.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hooks/runtime-fallback/constants.ts b/src/hooks/runtime-fallback/constants.ts index 60da6fb53..598f27810 100644 --- a/src/hooks/runtime-fallback/constants.ts +++ b/src/hooks/runtime-fallback/constants.ts @@ -26,6 +26,11 @@ export const RETRYABLE_ERROR_PATTERNS = [ /rate.?limit/i, /too.?many.?requests/i, /quota.?exceeded/i, + /quota\s+will\s+reset\s+after/i, + /all\s+credentials\s+for\s+model/i, + /cool(?:ing)?\s+down/i, + /cooldown/i, + /exhausted\s+your\s+capacity/i, /usage\s+limit\s+has\s+been\s+reached/i, /service.?unavailable/i, /overloaded/i,