This commit is contained in:
Yifei Zhang 2023-04-17 11:34:33 +08:00 committed by GitHub
parent 20fd8b1a7e
commit 2c08ab8252

View File

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