forked from XiaoMo/ChatGPT-Next-Web
fix: #853 fetch duplex errors
This commit is contained in:
parent
2979df1d82
commit
cc053b148d
@ -25,5 +25,6 @@ export async function requestOpenai(req: NextRequest) {
|
|||||||
},
|
},
|
||||||
method: req.method,
|
method: req.method,
|
||||||
body: req.body,
|
body: req.body,
|
||||||
|
duplex: !!req.body,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user