Skip to content

Commit 5c4f1c8

Browse files
marcfargasclaude
andcommitted
fix: add missing opusContext1mEnabled to SettingsUpdateSchema
The strict Zod schema was rejecting PUT /api/settings because opusContext1mEnabled was not in the allowlist. This caused all settings saves to fail server-side with a 400. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ab1b8e4 commit 5c4f1c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/web/schemas.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ export const SettingsUpdateSchema = z
269269
tunnelEnabled: z.boolean().optional(),
270270
tabTwoRows: z.boolean().optional(),
271271
agentTeamsEnabled: z.boolean().optional(),
272+
opusContext1mEnabled: z.boolean().optional(),
272273
// UI visibility
273274
showFontControls: z.boolean().optional(),
274275
showSystemStats: z.boolean().optional(),

0 commit comments

Comments
 (0)