openai-streams icon indicating copy to clipboard operation
openai-streams copied to clipboard

No fetch implementation found

Open codehruv opened this issue 1 year ago • 14 comments

Hi,

Thanks for building this great project.

When I deployed the changes using the CJS implementation to my machine, it surfaced an error

Error: No fetch implementation found.

After doing some reading, it seems like I have to install the node-fetch library and import that into the openai-streams library fetch call somehow.

Is there a clean way for doing this?

codehruv avatar Jun 28 '23 01:06 codehruv