streamed-chatgpt-api
streamed-chatgpt-api copied to clipboard
response.body.getReader is not a function when using node-fetch
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:
- Force use node-fetch in const fetch = ... at line 1.