@juspay/neurolink 1.11.0 → 1.11.1
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
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.11.1](https://github.com/juspay/neurolink/compare/v1.11.0...v1.11.1) (2025-06-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add backward compatiblity for gemini ([5e84dab](https://github.com/juspay/neurolink/commit/5e84dab598156a5b77d05b343d0d69ecf91f31b0))
|
|
7
|
+
|
|
1
8
|
# [1.11.0](https://github.com/juspay/neurolink/compare/v1.10.0...v1.11.0) (2025-06-21)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -7,10 +7,16 @@ const DEFAULT_SYSTEM_CONTEXT = {
|
|
|
7
7
|
};
|
|
8
8
|
// Configuration helpers
|
|
9
9
|
const getGoogleAIApiKey = () => {
|
|
10
|
+
// Check for both possible environment variables
|
|
10
11
|
const apiKey = process.env.GOOGLE_AI_API_KEY || process.env.GOOGLE_GENERATIVE_AI_API_KEY;
|
|
11
12
|
if (!apiKey) {
|
|
12
13
|
throw new Error("GOOGLE_AI_API_KEY or GOOGLE_GENERATIVE_AI_API_KEY environment variable is not set");
|
|
13
14
|
}
|
|
15
|
+
// Ensure GOOGLE_GENERATIVE_AI_API_KEY is set for @ai-sdk/google compatibility
|
|
16
|
+
// The AI SDK specifically looks for this variable name
|
|
17
|
+
if (!process.env.GOOGLE_GENERATIVE_AI_API_KEY && process.env.GOOGLE_AI_API_KEY) {
|
|
18
|
+
process.env.GOOGLE_GENERATIVE_AI_API_KEY = process.env.GOOGLE_AI_API_KEY;
|
|
19
|
+
}
|
|
14
20
|
return apiKey;
|
|
15
21
|
};
|
|
16
22
|
const getGoogleAIModelId = () => {
|
|
@@ -7,10 +7,16 @@ const DEFAULT_SYSTEM_CONTEXT = {
|
|
|
7
7
|
};
|
|
8
8
|
// Configuration helpers
|
|
9
9
|
const getGoogleAIApiKey = () => {
|
|
10
|
+
// Check for both possible environment variables
|
|
10
11
|
const apiKey = process.env.GOOGLE_AI_API_KEY || process.env.GOOGLE_GENERATIVE_AI_API_KEY;
|
|
11
12
|
if (!apiKey) {
|
|
12
13
|
throw new Error("GOOGLE_AI_API_KEY or GOOGLE_GENERATIVE_AI_API_KEY environment variable is not set");
|
|
13
14
|
}
|
|
15
|
+
// Ensure GOOGLE_GENERATIVE_AI_API_KEY is set for @ai-sdk/google compatibility
|
|
16
|
+
// The AI SDK specifically looks for this variable name
|
|
17
|
+
if (!process.env.GOOGLE_GENERATIVE_AI_API_KEY && process.env.GOOGLE_AI_API_KEY) {
|
|
18
|
+
process.env.GOOGLE_GENERATIVE_AI_API_KEY = process.env.GOOGLE_AI_API_KEY;
|
|
19
|
+
}
|
|
14
20
|
return apiKey;
|
|
15
21
|
};
|
|
16
22
|
const getGoogleAIModelId = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
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",
|