feat(runtime-fallback): add configurable session timeout controls
This commit is contained in:
committed by
YeonGyu-Kim
parent
ff230df47c
commit
6a97f00a22
@@ -9,6 +9,8 @@ export const RuntimeFallbackConfigSchema = z.object({
|
||||
max_fallback_attempts: z.number().min(1).max(20).optional(),
|
||||
/** Cooldown in seconds before retrying a failed model (default: 60) */
|
||||
cooldown_seconds: z.number().min(0).optional(),
|
||||
/** Session-level timeout in seconds to advance fallback when provider hangs (default: 30) */
|
||||
timeout_seconds: z.number().min(1).optional(),
|
||||
/** Show toast notification when switching to fallback model (default: true) */
|
||||
notify_on_fallback: z.boolean().optional(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user