Skip to content

Commit 29d673d

Browse files
committed
fix: Increase openAiPrompt max size from 6KB to 1MB
Allow larger custom system prompts for AI processing to accommodate more complex instructions and context.
1 parent 8a51465 commit 29d673d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/schemas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const settingsSchema = {
174174

175175
openAiPrompt: Joi.string()
176176
.allow('')
177-
.max(6 * 1024)
177+
.max(1024 * 1024)
178178
.example('You are an assistant scanning incoming emails…')
179179
.description('Custom system prompt to guide AI behavior when processing emails')
180180
.label('OpenAiPrompt'),

0 commit comments

Comments
 (0)