Skip to content

Commit

Permalink
Merge pull request #1 from yello-xyz/node-fetch
Browse files Browse the repository at this point in the history
Merge PR mistralai#42 from main repo
  • Loading branch information
hverlind authored Mar 5, 2024
2 parents e33a2f3 + 3e33341 commit e59a590
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
let isNode = false;

// initializeFetch() will populate this variable with a fetch implementation
let fetch;

const VERSION = '0.0.3';
const RETRY_STATUS_CODES = [429, 500, 502, 503, 504];
const ENDPOINT = 'https://api.mistral.ai';
Expand Down

0 comments on commit e59a590

Please sign in to comment.