fix: #2061 RequestInit TypeError

This commit is contained in:
mushan0x0 2023-06-20 11:57:31 +08:00 committed by GitHub
parent daeb8a67a3
commit 9c05d136f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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