@juspay/neurolink 9.55.7 → 9.55.8
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.
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
async function loadBedrockControl() {
|
|
2
|
+
return await import(/* @vite-ignore */ "@aws-sdk/client-bedrock");
|
|
3
|
+
}
|
|
2
4
|
import { BedrockRuntimeClient, ConverseCommand, ConverseStreamCommand, ImageFormat, } from "@aws-sdk/client-bedrock-runtime";
|
|
3
5
|
import path from "path";
|
|
4
6
|
import { createAnalytics } from "../core/analytics.js";
|
|
@@ -62,6 +64,7 @@ export class AmazonBedrockProvider extends BaseProvider {
|
|
|
62
64
|
* This prevents the health check failure we saw in production logs
|
|
63
65
|
*/
|
|
64
66
|
async performInitialHealthCheck() {
|
|
67
|
+
const { BedrockClient, ListFoundationModelsCommand } = await loadBedrockControl();
|
|
65
68
|
const bedrockClient = new BedrockClient({
|
|
66
69
|
region: this.region,
|
|
67
70
|
});
|
|
@@ -1550,6 +1553,7 @@ export class AmazonBedrockProvider extends BaseProvider {
|
|
|
1550
1553
|
const timeoutId = setTimeout(() => controller.abort(), 10000); // 10 second timeout
|
|
1551
1554
|
// Create a separate BedrockClient for health checks (not BedrockRuntimeClient)
|
|
1552
1555
|
// Use simple configuration like working example - no custom proxy handler
|
|
1556
|
+
const { BedrockClient, ListFoundationModelsCommand } = await loadBedrockControl();
|
|
1553
1557
|
const healthCheckClient = new BedrockClient({
|
|
1554
1558
|
region: process.env.AWS_REGION || "us-east-1",
|
|
1555
1559
|
});
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
async function loadBedrockControl() {
|
|
2
|
+
return await import(/* @vite-ignore */ "@aws-sdk/client-bedrock");
|
|
3
|
+
}
|
|
2
4
|
import { BedrockRuntimeClient, ConverseCommand, ConverseStreamCommand, ImageFormat, } from "@aws-sdk/client-bedrock-runtime";
|
|
3
5
|
import path from "path";
|
|
4
6
|
import { createAnalytics } from "../core/analytics.js";
|
|
@@ -62,6 +64,7 @@ export class AmazonBedrockProvider extends BaseProvider {
|
|
|
62
64
|
* This prevents the health check failure we saw in production logs
|
|
63
65
|
*/
|
|
64
66
|
async performInitialHealthCheck() {
|
|
67
|
+
const { BedrockClient, ListFoundationModelsCommand } = await loadBedrockControl();
|
|
65
68
|
const bedrockClient = new BedrockClient({
|
|
66
69
|
region: this.region,
|
|
67
70
|
});
|
|
@@ -1550,6 +1553,7 @@ export class AmazonBedrockProvider extends BaseProvider {
|
|
|
1550
1553
|
const timeoutId = setTimeout(() => controller.abort(), 10000); // 10 second timeout
|
|
1551
1554
|
// Create a separate BedrockClient for health checks (not BedrockRuntimeClient)
|
|
1552
1555
|
// Use simple configuration like working example - no custom proxy handler
|
|
1556
|
+
const { BedrockClient, ListFoundationModelsCommand } = await loadBedrockControl();
|
|
1553
1557
|
const healthCheckClient = new BedrockClient({
|
|
1554
1558
|
region: process.env.AWS_REGION || "us-east-1",
|
|
1555
1559
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "9.55.
|
|
3
|
+
"version": "9.55.8",
|
|
4
4
|
"packageManager": "pnpm@10.15.1",
|
|
5
5
|
"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 13 providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
|
|
6
6
|
"author": {
|