add chat behavior setting

This commit is contained in:
duanfuxiang
2025-04-10 10:59:23 +08:00
parent 3999c916a5
commit 032111994b
4 changed files with 62 additions and 21 deletions

View File

@@ -229,7 +229,8 @@ export const InfioSettingsSchema = z.object({
multiSearchReplaceDiffStrategy: z.boolean().catch(true),
// Mode
mode: z.string().catch('ask'),
mode: z.enum(['ask', 'write', 'research']).catch('ask'),
defaultMention: z.enum(['none', 'current-file', 'vault']).catch('none'),
// web search
serperApiKey: z.string().catch(''),