fix web errors
This commit is contained in:
@@ -11,7 +11,7 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
|
||||
const runtime = new CopilotRuntime({
|
||||
remoteEndpoints: [
|
||||
{
|
||||
url: process.env.LANGGRAPH_DEPLOYMENT_URL || "http://localhost:8000",
|
||||
url: `${process.env.LANGGRAPH_DEPLOYMENT_URL || "http://localhost:8000"}/copilotkit`,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -19,7 +19,7 @@ export default function RootLayout({
|
||||
<html lang="en">
|
||||
<body className={"antialiased"}>
|
||||
<Auth0Provider>
|
||||
<CopilotKit runtimeUrl="/api/copilotkit">
|
||||
<CopilotKit runtimeUrl="/api/copilotkit" agent="vpi_1000">
|
||||
{children}
|
||||
</CopilotKit>
|
||||
</Auth0Provider>
|
||||
|
||||
Reference in New Issue
Block a user