Merge pull request #2064 from mushan0x0/patch-1

fix: #2061 RequestInit TypeError
This commit is contained in:
Yifei Zhang
2023-06-20 18:04:24 +08:00
committed by GitHub

View File

@@ -43,6 +43,8 @@ export async function requestOpenai(req: NextRequest) {
cache: "no-store",
method: req.method,
body: req.body,
// @ts-ignore
duplex: "half",
signal: controller.signal,
};