cr
This commit is contained in:
@@ -5,7 +5,7 @@ import { initApiPassthrough } from "langgraph-nextjs-api-passthrough";
|
|||||||
|
|
||||||
export const { GET, POST, PUT, PATCH, DELETE, OPTIONS, runtime } =
|
export const { GET, POST, PUT, PATCH, DELETE, OPTIONS, runtime } =
|
||||||
initApiPassthrough({
|
initApiPassthrough({
|
||||||
apiUrl: process.env.LANGGRAPH_API_URL, // default, if not defined it will attempt to read process.env.LANGGRAPH_API_URL
|
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, // default, if not defined it will attempt to read process.env.LANGSMITH_API_KEY
|
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
|
runtime: "edge", // default
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user