Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(comments-api): increase comment character limit to 3,000 (#5194)

marliessophie4432223fd2e3
diff --git a/web/src/features/public-api/types/comments.ts b/web/src/features/public-api/types/comments.ts
index 7f55110bd4..139ba0bf2a 100644
--- a/web/src/features/public-api/types/comments.ts
+++ b/web/src/features/public-api/types/comments.ts
@@ -17,7 +17,7 @@ const APIComment = z
updatedAt: z.coerce.date(),
objectType: z.nativeEnum(CommentObjectType),
objectId: z.string(),
- content: z.string().min(1).max(500),
+ content: z.string().min(1).max(3000),
authorUserId: z.string().nullish(),
})
.strict();