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 +1 -1
- package/sources.js +1 -1
- package/src/opencode.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "free-coding-models",
|
|
3
|
-
"version": "0.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
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://
|
|
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://
|
|
892
|
+
options: { baseURL: 'https://api.mistral.ai/v1', apiKey: '{env:CODESTRAL_API_KEY}' },
|
|
893
893
|
models: {}
|
|
894
894
|
}
|
|
895
895
|
} else if (providerKey === 'hyperbolic') {
|