Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: Increase max prompt length to 500 chars instead of 100

Mohamed Bassem8ce272d1b363
diff --git a/packages/shared/types/prompts.ts b/packages/shared/types/prompts.ts
index a288c65d..71a7ee02 100644
--- a/packages/shared/types/prompts.ts
+++ b/packages/shared/types/prompts.ts
@@ -1,6 +1,6 @@
import { z } from "zod";
-const MAX_PROMPT_TEXT_LENGTH = 100;
+const MAX_PROMPT_TEXT_LENGTH = 500;
export const zAppliesToEnumSchema = z.enum(["all", "text", "images"]);