This commit is contained in:
Yifei Zhang
2023-04-17 11:36:32 +08:00
committed by GitHub
parent 76ef5ef9a9
commit b79845fcaa
2 changed files with 5 additions and 2 deletions

View File

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