upgrade bing client (merge https://github.com/waylaidwanderer/node-chatgpt-api/pull/481) and some other adaptations (#505, #519, #525)

This commit is contained in:
josc146
2023-10-15 00:50:13 +08:00
parent 1e1d7db8aa
commit d639d29d6b
6 changed files with 37 additions and 19 deletions
+1
View File
@@ -22,6 +22,7 @@ export function fetchBg(input, init) {
new Response(body, {
status: response.status,
statusText: response.statusText,
headers: new Headers(response.headers),
}),
)
}