fix: url sanitization

This commit is contained in:
Han Xiao 2025-03-18 10:17:43 +08:00
parent 85435a903f
commit b27eced6f8

View File

@ -187,7 +187,7 @@ export class Schemas {
return z.object({
type: z.literal('strict'),
...baseSchemaBefore,
improvement_plan: z.string().describe('Explain how a perfect answer should look like and what are needed to improve the current answer. Starts with "For the best answer, you must..."').max(500),
improvement_plan: z.string().describe('Explain how a perfect answer should look like and what are needed to improve the current answer. Starts with "For the best answer, you must..."').max(1000),
...baseSchemaAfter
});
default: