Skip to content

Commit

Permalink
fix(promptValidationSchema.ts): increase MAX_PROMPT_TEXT_LENGTH from …
Browse files Browse the repository at this point in the history
…500 to 1000 to allow for longer prompt texts
  • Loading branch information
edwardspresume committed Jul 23, 2023
1 parent 4a231e7 commit 5a03392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/validation/promptValidationSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { z } from 'zod';

// Define maximum lengths for prompt title and text
const MAX_PROMPT_TITLE_LENGTH = 50;
const MAX_PROMPT_TEXT_LENGTH = 500;
const MAX_PROMPT_TEXT_LENGTH = 1000;

const PromptValidationSchema = z.object({
id: z
Expand Down

0 comments on commit 5a03392

Please sign in to comment.