docs: align config reference with implementation

This commit is contained in:
ririnto
2026-05-18 21:39:10 +09:00
parent f6fba0b154
commit 8b40d0af2a
6 changed files with 28 additions and 20 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export const OhMyOpenCodeConfigSchema = z.object({
/**
* 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 }
* { "enabled": true, "retry_on_errors": [429, 500, 502, 503, 504], "timeout_seconds": 30 }
*/
runtime_fallback: z.union([z.boolean(), RuntimeFallbackConfigSchema]).optional(),
background_task: BackgroundTaskConfigSchema.optional(),