From e23d50e86299c7c9bbc8d4db0865490367e7e326 Mon Sep 17 00:00:00 2001 From: Hk-Gosuto Date: Thu, 14 Sep 2023 23:45:18 +0800 Subject: [PATCH] fix bug --- app/api/langchain/tool/agent/route.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/api/langchain/tool/agent/route.ts b/app/api/langchain/tool/agent/route.ts index 94c74f10f..34d6e5d00 100644 --- a/app/api/langchain/tool/agent/route.ts +++ b/app/api/langchain/tool/agent/route.ts @@ -294,5 +294,4 @@ async function handle(req: NextRequest) { export const GET = handle; export const POST = handle; -export const runtime = - process.env.DDG_PROXY_URL != undefined ? "nodejs" : "edge"; +export const runtime = "edge";