Skip to content

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

perf: increase chatCompletion function timeout (#2326)

Hassieb Pakzad2094db0101e4
diff --git a/web/src/app/api/chatCompletion/route.ts b/web/src/app/api/chatCompletion/route.ts
index 6acf98aca9..bd71039d9f 100644
--- a/web/src/app/api/chatCompletion/route.ts
+++ b/web/src/app/api/chatCompletion/route.ts
@@ -1,6 +1,6 @@
import chatCompletionHandler from "@/src/ee/features/playground/server/chatCompletionHandler";
export const dynamic = "force-dynamic";
-export const maxDuration = 60;
+export const maxDuration = 120;
export const POST = chatCompletionHandler;