We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NextRequest
Request
1 parent 89bc92d commit 3e5a70bCopy full SHA for 3e5a70b
apps/dojo/src/app/api/copilotkit/[integrationId]/[[...slug]]/route.ts
@@ -4,9 +4,7 @@ import {
4
copilotRuntimeNextJSAppRouterEndpoint,
5
} from "@copilotkit/runtime";
6
import { agentsIntegrations } from "@/agents";
7
-import { handle } from 'hono/vercel'
8
-
9
-import { NextRequest } from "next/server";
+import { handle } from 'hono/vercel';
10
11
async function createApp(integrationId: string) {
12
const integration = agentsIntegrations.find((i) => i.id === integrationId);
@@ -28,7 +26,7 @@ async function createApp(integrationId: string) {
28
26
}
29
27
30
async function routeHandler(
31
- request: NextRequest,
+ request: Request,
32
{ params }: { params: Promise<{ integrationId: string }> }
33
) {
34
const { integrationId } = await params;
0 commit comments