diff --git a/package-lock.json b/package-lock.json index 84c3c31..eb5fa19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@azure-rest/ai-inference": "^1.0.0-beta.2", "@azure/core-auth": "^1.7.2", "@azure/core-sse": "^2.1.2", - "@mistralai/mistralai": "^0.5.0", + "@mistralai/mistralai": "^1.6.0", "openai": "^4.52.7" } }, @@ -205,12 +205,14 @@ } }, "node_modules/@mistralai/mistralai": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-0.5.0.tgz", - "integrity": "sha512-56xfoC/0CiT0RFHrRNoJYSKCNc922EyHzEPJYY6ttalQ5KZdrNVgXeOetIGX0lDx7IjbxAJrrae2MQgUIlL9+g==", - "license": "ISC", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-1.6.0.tgz", + "integrity": "sha512-PQwGV3+n7FbE7Dp3Vnd8DAa3ffx6WuVV966Gfmf4QvzwcO3Mvxpz0SnJ/PjaZcsCwApBCZpNyQzvarAKEQLKeQ==", "dependencies": { - "node-fetch": "^2.6.7" + "zod-to-json-schema": "^3.24.1" + }, + "peerDependencies": { + "zod": ">= 3" } }, "node_modules/@types/node": { @@ -496,6 +498,25 @@ "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } + }, + "node_modules/zod": { + "version": "3.24.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.4.tgz", + "integrity": "sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==", + "license": "MIT", + "peer": true, + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-to-json-schema": { + "version": "3.24.5", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.5.tgz", + "integrity": "sha512-/AuWwMP+YqiPbsJx5D6TfgRTc4kTLjsh5SOcd4bLsfUg2RcEXrFMJl1DGgdHy2aCfsIA/cr/1JM0xcB2GZji8g==", + "license": "ISC", + "peerDependencies": { + "zod": "^3.24.1" + } } } } diff --git a/package.json b/package.json index 8edc6a7..58e63ad 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "@azure-rest/ai-inference": "^1.0.0-beta.2", "@azure/core-auth": "^1.7.2", "@azure/core-sse": "^2.1.2", - "@mistralai/mistralai": "^0.5.0", + "@mistralai/mistralai": "^1.6.0", "openai": "^4.52.7" } }