streamed-chatgpt-api icon indicating copy to clipboard operation
streamed-chatgpt-api copied to clipboard

response.body.getReader is not a function when using node-fetch

Open stouch opened this issue 2 years ago • 0 comments

Describe the bug When fetch uses node-fetch, and because of https://stackoverflow.com/a/57664622/21644773, the getReader function does not exist in response.body.

To Reproduce Steps to reproduce the behavior:

  1. Force use node-fetch in const fetch = ... at line 1.

stouch avatar May 20 '23 08:05 stouch