You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
I see that node-fetch is used to make request to the Mistral API. Since node-fetch doesn't support CommonJs it would be pretty easy to remove it as a dependency. And, even better, you'd have zero dependencies. All you need to do is import the native https module and replace _request with this:
Thanks for reporting this issue. We have deprecated this package in favor of mistralai/client-ts, which is the new official Mistral client, compatible with both TypeScript and JavaScript.
I see that node-fetch is used to make request to the Mistral API. Since node-fetch doesn't support CommonJs it would be pretty easy to remove it as a dependency. And, even better, you'd have zero dependencies. All you need to do is import the native
https
module and replace_request
with this:Happy to make a PR once #73 is merged
The text was updated successfully, but these errors were encountered: