fix: Add 'none' option to sttProvider enum in global-settings

This fixes TypeScript compilation error in web-evals app
This commit is contained in:
Roo Code 2025-10-26 19:16:34 +00:00
parent f33d9ba2bd
commit 06b6ceeaa8

View file

@ -182,7 +182,7 @@ export const globalSettingsSchema = z.object({
// Speech-to-Text settings
sttEnabled: z.boolean().optional(),
sttProvider: z.enum(["assemblyai", "openai-whisper"]).optional(),
sttProvider: z.enum(["assemblyai", "openai-whisper", "none"]).optional(),
sttAutoStopTimeout: z.number().min(500).max(10000).optional(), // milliseconds
sttAutoSend: z.boolean().optional(),
})