free-coding-models 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-coding-models",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Find the fastest coding LLM models in seconds — ping free models from multiple providers, pick the best one for OpenCode, Cursor, or any AI coding assistant.",
5
5
  "keywords": [
6
6
  "nvidia",
package/sources.js CHANGED
@@ -384,7 +384,7 @@ export const sources = {
384
384
  },
385
385
  codestral: {
386
386
  name: 'Codestral',
387
- url: 'https://codestral.mistral.ai/v1/chat/completions',
387
+ url: 'https://api.mistral.ai/v1/chat/completions',
388
388
  models: codestral,
389
389
  },
390
390
  hyperbolic: {
package/src/opencode.js CHANGED
@@ -425,7 +425,7 @@ export async function startOpenCode(model, fcmConfig) {
425
425
  config.provider.codestral = {
426
426
  npm: '@ai-sdk/openai-compatible',
427
427
  name: 'Mistral Codestral',
428
- options: { baseURL: 'https://codestral.mistral.ai/v1', apiKey: '{env:CODESTRAL_API_KEY}' },
428
+ options: { baseURL: 'https://api.mistral.ai/v1', apiKey: '{env:CODESTRAL_API_KEY}' },
429
429
  models: {}
430
430
  }
431
431
  } else if (providerKey === 'hyperbolic') {
@@ -889,7 +889,7 @@ export async function startOpenCodeDesktop(model, fcmConfig) {
889
889
  config.provider.codestral = {
890
890
  npm: '@ai-sdk/openai-compatible',
891
891
  name: 'Mistral Codestral',
892
- options: { baseURL: 'https://codestral.mistral.ai/v1', apiKey: '{env:CODESTRAL_API_KEY}' },
892
+ options: { baseURL: 'https://api.mistral.ai/v1', apiKey: '{env:CODESTRAL_API_KEY}' },
893
893
  models: {}
894
894
  }
895
895
  } else if (providerKey === 'hyperbolic') {