mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-20 14:12:59 +03:00
Validated in local merge-train @ 8f27177d1 (full parity suite green: typecheck+file-size+complexity+cognitive+changelog+unit shards 1&2+vitest)
This commit is contained in:
committed by
GitHub
parent
8bf2e6929f
commit
735e2d0783
@@ -177,6 +177,11 @@ export const updateSettingsSchema = z.object({
|
||||
supportedModels: z.array(z.string().max(200)).max(200).optional(),
|
||||
})
|
||||
.optional(),
|
||||
// #7274: renamed from codexSessionAffinityTtlMs — applies to any provider now.
|
||||
// The old key is still accepted (read-only legacy alias) so pre-migration
|
||||
// clients / cached UI bundles that still PATCH the old field name don't 400;
|
||||
// `resolveSessionAffinityTtlMs` prefers the new key when both are present.
|
||||
sessionAffinityTtlMs: z.number().int().min(0).max(86_400_000).optional(),
|
||||
codexSessionAffinityTtlMs: z.number().int().min(0).max(86_400_000).optional(),
|
||||
// #6977: opt-in per-connection Codex quota auto-ping. `connections` maps a
|
||||
// provider_connections id -> enabled; default is an empty map (off for everyone)
|
||||
|
||||
Reference in New Issue
Block a user