Skip to content

Commit 3cf4867

Browse files
Ark0Nclaude
andcommitted
fix: allowlist thinkingEffort in SettingsUpdateSchema
Without this, PUT /api/settings rejects the new field with INVALID_INPUT (schema is .strict()), so the dropdown's value never persists. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 534899b commit 3cf4867

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
@@ -267,6 +267,7 @@ export const SettingsUpdateSchema = z
267267
tunnelEnabled: z.boolean().optional(),
268268
tabTwoRows: z.boolean().optional(),
269269
agentTeamsEnabled: z.boolean().optional(),
270+
thinkingEffort: z.string().max(20).optional(),
270271
// UI visibility
271272
showFontControls: z.boolean().optional(),
272273
showSystemStats: z.boolean().optional(),

0 commit comments

Comments
 (0)