Closed louis030195 closed 1 year ago
used https lib instead
@louis030195 what is https lib? Can you provide a link?
@samheutmaker sorry this is my workaround now https://github.com/different-ai/embedbase/blob/2973555c3fa3d5aab2dc8e7278fe4b9e0a1e597d/sdk/embedbase-js/src/utils.ts#L135
Hi, your lib is very helpful, thanks a lot 🙏
I'm facing some issue with the exact code that was working fine using browser fetch when trying to use
cross-fetch
, this is a snippet of what I'm trying to run:Where my API is returning a
Response
which is a streamI get a
TypeError: data.getReader is not a function
The error disappear when I comment
import fetch from "cross-fetch"
Any idea? Should I use a different API with
cross-fetch
? Any help would be highly appreciated 🔥