@juspay/neurolink 7.38.0 → 7.38.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 +6 -0
- package/dist/lib/providers/openAI.js +2 -2
- package/dist/providers/openAI.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [7.38.1](https://github.com/juspay/neurolink/compare/v7.38.0...v7.38.1) (2025-09-16)
|
2
|
+
|
3
|
+
### Bug Fixes
|
4
|
+
|
5
|
+
- **(tool):** Openai provider's no of tool to pass ([8804d56](https://github.com/juspay/neurolink/commit/8804d5643672823d8e4684ecc622684935c3bdfe))
|
6
|
+
|
1
7
|
## [7.38.0](https://github.com/juspay/neurolink/compare/v7.37.1...v7.38.0) (2025-09-14)
|
2
8
|
|
3
9
|
### Features
|
@@ -224,8 +224,8 @@ export class OpenAIProvider extends BaseProvider {
|
|
224
224
|
const allTools = shouldUseTools ? await this.getAllTools() : {};
|
225
225
|
// OpenAI-specific fix: Validate tools format and filter out problematic ones
|
226
226
|
let tools = this.validateAndFilterToolsForOpenAI(allTools);
|
227
|
-
// OpenAI
|
228
|
-
const MAX_TOOLS =
|
227
|
+
// OpenAI max tools limit - configurable via environment variable
|
228
|
+
const MAX_TOOLS = parseInt(process.env.OPENAI_MAX_TOOLS || "150", 10);
|
229
229
|
if (Object.keys(tools).length > MAX_TOOLS) {
|
230
230
|
logger.warn(`OpenAI: Too many tools (${Object.keys(tools).length}), limiting to ${MAX_TOOLS} tools`);
|
231
231
|
const toolEntries = Object.entries(tools);
|
package/dist/providers/openAI.js
CHANGED
@@ -224,8 +224,8 @@ export class OpenAIProvider extends BaseProvider {
|
|
224
224
|
const allTools = shouldUseTools ? await this.getAllTools() : {};
|
225
225
|
// OpenAI-specific fix: Validate tools format and filter out problematic ones
|
226
226
|
let tools = this.validateAndFilterToolsForOpenAI(allTools);
|
227
|
-
// OpenAI
|
228
|
-
const MAX_TOOLS =
|
227
|
+
// OpenAI max tools limit - configurable via environment variable
|
228
|
+
const MAX_TOOLS = parseInt(process.env.OPENAI_MAX_TOOLS || "150", 10);
|
229
229
|
if (Object.keys(tools).length > MAX_TOOLS) {
|
230
230
|
logger.warn(`OpenAI: Too many tools (${Object.keys(tools).length}), limiting to ${MAX_TOOLS} tools`);
|
231
231
|
const toolEntries = Object.entries(tools);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@juspay/neurolink",
|
3
|
-
"version": "7.38.
|
3
|
+
"version": "7.38.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",
|
@@ -230,7 +230,7 @@
|
|
230
230
|
"svelte-check": "^4.0.0",
|
231
231
|
"tslib": "^2.4.1",
|
232
232
|
"typescript": "^5.0.0",
|
233
|
-
"vite": "^6.
|
233
|
+
"vite": "^6.3.6",
|
234
234
|
"vitest": "^2.0.0",
|
235
235
|
"why-is-node-running": "^3.2.2"
|
236
236
|
},
|