feat(config): disable runtime_fallback by default (opt-in)

This commit is contained in:
YeonGyu-Kim
2026-02-22 01:54:34 +09:00
parent 309869a79f
commit 976798d0e3
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export const OhMyOpenCodeConfigSchema = z.object({
skills: SkillsConfigSchema.optional(),
ralph_loop: RalphLoopConfigSchema.optional(),
/**
* Enable runtime fallback (default: true)
* Enable runtime fallback (default: false)
* Set to false to disable, or use object for advanced config:
* { "enabled": true, "retry_on_errors": [400, 429], "timeout_seconds": 30 }
*/
+1 -1
View File
@@ -1,7 +1,7 @@
import { z } from "zod"
export const RuntimeFallbackConfigSchema = z.object({
/** Enable runtime fallback (default: true) */
/** Enable runtime fallback (default: false) */
enabled: z.boolean().optional(),
/** HTTP status codes that trigger fallback (default: [400, 429, 503, 529]) */
retry_on_errors: z.array(z.number()).optional(),