Skip to content

Commit 7533ab7

Browse files
committed
🐛 Fix - Remove the min length validation on preprompt
Should fix the docker container
1 parent e91b76c commit 7533ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/server/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const modelsRaw = z
5959
assistantMessageToken: z.string().default(""),
6060
assistantMessageEndToken: z.string().default(""),
6161
messageEndToken: z.string().default(""),
62-
preprompt: z.string().min(1).optional(),
62+
preprompt: z.string().default(""),
6363
prepromptUrl: z.string().url().optional(),
6464
chatPromptTemplate: z
6565
.string()

0 commit comments

Comments
 (0)