@juspay/neurolink 7.20.0 → 7.21.0
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/CHANGELOG.md +6 -0
- package/dist/lib/providers/litellm.js +4 -11
- package/dist/providers/litellm.js +4 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [7.21.0](https://github.com/juspay/neurolink/compare/v7.20.0...v7.21.0) (2025-08-19)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **(provider):** add env-based fallback for available models (BZ-43348) ([4b6cee3](https://github.com/juspay/neurolink/commit/4b6cee3c19b2b2512b8d236a49b29e2091343195))
|
|
6
|
+
|
|
1
7
|
## [7.20.0](https://github.com/juspay/neurolink/compare/v7.19.0...v7.20.0) (2025-08-19)
|
|
2
8
|
|
|
3
9
|
### Features
|
|
@@ -194,18 +194,11 @@ export class LiteLLMProvider extends BaseProvider {
|
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
// Fallback to hardcoded list if API fetch fails
|
|
197
|
-
const fallbackModels = [
|
|
198
|
-
"openai/gpt-4o",
|
|
199
|
-
"
|
|
200
|
-
"openai/gpt-3.5-turbo",
|
|
201
|
-
"anthropic/claude-3-5-sonnet-20241022",
|
|
202
|
-
"anthropic/claude-3-haiku-20240307",
|
|
203
|
-
"google/gemini-2.0-flash",
|
|
204
|
-
"google/gemini-1.5-pro",
|
|
205
|
-
"mistral/mistral-large-latest",
|
|
206
|
-
"mistral/mistral-medium-latest",
|
|
197
|
+
const fallbackModels = process.env.LITELLM_FALLBACK_MODELS?.split(",").map((m) => m.trim()) || [
|
|
198
|
+
"openai/gpt-4o", // minimal safe baseline
|
|
199
|
+
"anthropic/claude-3-haiku",
|
|
207
200
|
"meta-llama/llama-3.1-8b-instruct",
|
|
208
|
-
"
|
|
201
|
+
"google/gemini-2.5-flash",
|
|
209
202
|
];
|
|
210
203
|
logger.debug(`[${functionTag}] Using fallback model list`, {
|
|
211
204
|
modelCount: fallbackModels.length,
|
|
@@ -194,18 +194,11 @@ export class LiteLLMProvider extends BaseProvider {
|
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
// Fallback to hardcoded list if API fetch fails
|
|
197
|
-
const fallbackModels = [
|
|
198
|
-
"openai/gpt-4o",
|
|
199
|
-
"
|
|
200
|
-
"openai/gpt-3.5-turbo",
|
|
201
|
-
"anthropic/claude-3-5-sonnet-20241022",
|
|
202
|
-
"anthropic/claude-3-haiku-20240307",
|
|
203
|
-
"google/gemini-2.0-flash",
|
|
204
|
-
"google/gemini-1.5-pro",
|
|
205
|
-
"mistral/mistral-large-latest",
|
|
206
|
-
"mistral/mistral-medium-latest",
|
|
197
|
+
const fallbackModels = process.env.LITELLM_FALLBACK_MODELS?.split(",").map((m) => m.trim()) || [
|
|
198
|
+
"openai/gpt-4o", // minimal safe baseline
|
|
199
|
+
"anthropic/claude-3-haiku",
|
|
207
200
|
"meta-llama/llama-3.1-8b-instruct",
|
|
208
|
-
"
|
|
201
|
+
"google/gemini-2.5-flash",
|
|
209
202
|
];
|
|
210
203
|
logger.debug(`[${functionTag}] Using fallback model list`, {
|
|
211
204
|
modelCount: fallbackModels.length,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.21.0",
|
|
4
4
|
"description": "Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and deploy AI applications with 9 major providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Juspay Technologies",
|