mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 12:40:16 +09:00
fix: #2061 RequestInit TypeError
This commit is contained in:
parent
daeb8a67a3
commit
9c05d136f5
@ -43,6 +43,8 @@ export async function requestOpenai(req: NextRequest) {
|
|||||||
cache: "no-store",
|
cache: "no-store",
|
||||||
method: req.method,
|
method: req.method,
|
||||||
body: req.body,
|
body: req.body,
|
||||||
|
// @ts-ignore
|
||||||
|
duplex: "half",
|
||||||
signal: controller.signal,
|
signal: controller.signal,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user