Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

address review (codex): widen voice llm.provider id cap to 80 to match provider registry

Adam Eivy334bf746b563
diff --git a/server/routes/voice.js b/server/routes/voice.js
index b6c13ddd0a..4a0e11b4c4 100644
--- a/server/routes/voice.js
+++ b/server/routes/voice.js
@@ -59,7 +59,10 @@ const voiceConfigPatchSchema = z.object({
}).partial().optional(),
}).partial().optional(),
llm: z.object({
- provider: z.string().max(32).optional(),
+ // 80 matches the provider-registry id cap (providerSchema.id in
+ // aiToolkit/validation.js) — a shorter cap here would reject a valid
+ // custom provider the voice picker happily lets the user select.
+ provider: z.string().max(80).optional(),
model: z.string().max(128).optional(),
systemPrompt: z.string().max(4000).optional(),
usePersonality: z.boolean().optional(),