diff --git a/app/api/common.ts b/app/api/common.ts index 53ab18ed..089dbf02 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -25,5 +25,6 @@ export async function requestOpenai(req: NextRequest) { }, method: req.method, body: req.body, + duplex: !!req.body, }); }