Skip to content

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

fix: content too large error in dataset trpc uploads (#10011)

Max Deichmanne8556715e695
diff --git a/web/src/pages/api/trpc/[trpc].ts b/web/src/pages/api/trpc/[trpc].ts
index 796dbd6232..f39f6881b6 100644
--- a/web/src/pages/api/trpc/[trpc].ts
+++ b/web/src/pages/api/trpc/[trpc].ts
@@ -6,6 +6,11 @@ import { logger, traceException } from "@langfuse/shared/src/server";
export const config = {
maxDuration: 240,
+ api: {
+ bodyParser: {
+ sizeLimit: "4.5mb",
+ },
+ },
};
// export API handler