fix: #853 fetch duplex errors

This commit is contained in:
Yifei Zhang 2023-04-17 11:27:31 +08:00 committed by GitHub
parent 2979df1d82
commit cc053b148d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,5 +25,6 @@ export async function requestOpenai(req: NextRequest) {
},
method: req.method,
body: req.body,
duplex: !!req.body,
});
}