mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-06 06:36:32 +08:00
Merge pull request #2064 from mushan0x0/patch-1
fix: #2061 RequestInit TypeError
This commit is contained in:
commit
078b039cf1
@ -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…
x
Reference in New Issue
Block a user