Merge pull request #2064 from mushan0x0/patch-1

fix: #2061 RequestInit TypeError
main
Yifei Zhang 2 years ago committed by GitHub
commit 078b039cf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
};

Loading…
Cancel
Save