diff --git a/src/app/api/[..._path]/route.ts b/src/app/api/[..._path]/route.ts index c7f615d..5524d1f 100644 --- a/src/app/api/[..._path]/route.ts +++ b/src/app/api/[..._path]/route.ts @@ -5,7 +5,7 @@ import { initApiPassthrough } from "langgraph-nextjs-api-passthrough"; export const { GET, POST, PUT, PATCH, DELETE, OPTIONS, runtime } = initApiPassthrough({ - apiUrl: process.env.LANGGRAPH_API_URL, // default, if not defined it will attempt to read process.env.LANGGRAPH_API_URL - apiKey: process.env.LANGSMITH_API_KEY, // default, if not defined it will attempt to read process.env.LANGSMITH_API_KEY + apiUrl: process.env.LANGGRAPH_API_URL ?? "remove-me", // default, if not defined it will attempt to read process.env.LANGGRAPH_API_URL + apiKey: process.env.LANGSMITH_API_KEY ?? "remove-me", // default, if not defined it will attempt to read process.env.LANGSMITH_API_KEY runtime: "edge", // default });