nsarrazin HF staff commited on
Commit
7533ab7
1 Parent(s): e91b76c

🐛 Fix - Remove the min length validation on preprompt

Browse files
Files changed (1) hide show
  1. src/lib/server/models.ts +1 -1
src/lib/server/models.ts CHANGED
@@ -59,7 +59,7 @@ const modelsRaw = z
59
  assistantMessageToken: z.string().default(""),
60
  assistantMessageEndToken: z.string().default(""),
61
  messageEndToken: z.string().default(""),
62
- preprompt: z.string().min(1).optional(),
63
  prepromptUrl: z.string().url().optional(),
64
  chatPromptTemplate: z
65
  .string()
 
59
  assistantMessageToken: z.string().default(""),
60
  assistantMessageEndToken: z.string().default(""),
61
  messageEndToken: z.string().default(""),
62
+ preprompt: z.string().default(""),
63
  prepromptUrl: z.string().url().optional(),
64
  chatPromptTemplate: z
65
  .string()