Skip to content

Commit d31fc18

Browse files
author
Your Name
committed
fix: Update voice enum in process-user-message schema to Orpheus voices
- Change voice enum from old names (Algenib, Enceladus, etc.) to Orpheus voices - Fixes schema validation error: 'voice must be equal to one of the allowed values' - Now accepts: troy, diana, hannah, autumn, austin, daniel
1 parent dd40dd8 commit d31fc18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ai/flows/process-user-message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const ProcessUserMessageInputSchema = z.object({
4141
tone: z.enum(['helpful', 'formal', 'casual']),
4242
technicalLevel: z.enum(['beginner', 'intermediate', 'expert']),
4343
enableSpeech: z.boolean(),
44-
voice: z.enum(['Algenib', 'Enceladus', 'Achernar', 'Heka']),
44+
voice: z.enum(['troy', 'diana', 'hannah', 'autumn', 'austin', 'daniel']), // Orpheus voices
4545
}),
4646
userId: z.string().optional().describe('User ID for memory system integration'),
4747
});

0 commit comments

Comments
 (0)