fix: #853 fetch duplex errors

This commit is contained in:
Yifei Zhang 2023-04-17 11:27:31 +08:00 committed by GitHub
parent eb83b51f11
commit 20fd8b1a7e

View File

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