From c54da1e670d3185d24326db6d0040a18db0cd3a6 Mon Sep 17 00:00:00 2001 From: Youngbin Kim <64558592+youngbinkim0@users.noreply.github.com> Date: Tue, 17 Feb 2026 16:29:08 -0500 Subject: [PATCH] docs(config): correct retry_on_errors default in schema comment Update schema comment to match actual code default [400, 429, 503, 529]. Previously the comment omitted 400 which is included in the code default. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- src/config/schema/runtime-fallback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/schema/runtime-fallback.ts b/src/config/schema/runtime-fallback.ts index 8592de05..78ae06bb 100644 --- a/src/config/schema/runtime-fallback.ts +++ b/src/config/schema/runtime-fallback.ts @@ -3,7 +3,7 @@ import { z } from "zod" export const RuntimeFallbackConfigSchema = z.object({ /** Enable runtime fallback (default: true) */ enabled: z.boolean().optional(), - /** HTTP status codes that trigger fallback (default: [429, 503, 529]) */ + /** HTTP status codes that trigger fallback (default: [400, 429, 503, 529]) */ retry_on_errors: z.array(z.number()).optional(), /** Maximum fallback attempts per session (default: 3) */ max_fallback_attempts: z.number().min(1).max(20).optional(),