Sfoglia il codice sorgente

chat-stream: runtime = "experimental-edge";

Shi Liang 1 anno fa
parent
commit
b6a7104b60
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      app/api/chat-stream/route.ts

+ 1 - 3
app/api/chat-stream/route.ts

@@ -59,6 +59,4 @@ export async function POST(req: NextRequest) {
   }
 }
 
-export const config = {
-  runtime: "edge",
-};
+export const runtime = "experimental-edge";