We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0624b56 commit ae64261Copy full SHA for ae64261
app/api/chat/route.ts
@@ -1,6 +1,8 @@
1
import { createParser, ParsedEvent, ReconnectInterval } from 'eventsource-parser'
2
import { NextRequest, NextResponse } from 'next/server'
3
4
+export const runtime = 'edge';
5
+
6
export interface Message {
7
role: string
8
content: string
0 commit comments