diff --git a/package-lock.json b/package-lock.json index 659949f..a4d0cf9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@azure/openai": "^1.0.0-beta.11", + "@azure/openai": "^2.0.0", "@dqbd/tiktoken": "^1.0.16", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", @@ -101,9 +101,10 @@ } }, "node_modules/@azure-rest/core-client": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@azure-rest/core-client/-/core-client-1.4.0.tgz", - "integrity": "sha512-ozTDPBVUDR5eOnMIwhggbnVmOrka4fXCs8n8mvUo4WLLc38kki6bAOByDoVZZPz/pZy2jMt2kwfpvy/UjALj6w==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@azure-rest/core-client/-/core-client-2.3.1.tgz", + "integrity": "sha512-sGTdh2Ln95F/Jqikr9OybQvx00EVvljwgxjfcxTqjID0PBVGDuNR0ie9e9HsTA1vJT23BlVRd/dCIGzJriYw9g==", + "license": "MIT", "dependencies": { "@azure/abort-controller": "^2.0.0", "@azure/core-auth": "^1.3.0", @@ -158,17 +159,6 @@ "node": ">=18.0.0" } }, - "node_modules/@azure/core-sse": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@azure/core-sse/-/core-sse-2.1.2.tgz", - "integrity": "sha512-yf+pFIu8yCzXu9RbH2+8kp9vITIKJLHgkLgFNA6hxiDHK3fxeP596cHUj4c8Cm8JlooaUnYdHmF84KCZt3jbmw==", - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@azure/core-tracing": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.1.2.tgz", @@ -204,18 +194,13 @@ } }, "node_modules/@azure/openai": { - "version": "1.0.0-beta.13", - "resolved": "https://registry.npmjs.org/@azure/openai/-/openai-1.0.0-beta.13.tgz", - "integrity": "sha512-oHE5ScnPTXALmyEBgqokZlYVT7F76EfrKjMWF+YcFJdUxk9Adhvht2iL5v+QpmlAIMdkih1q8DkTs/tApDjBpw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@azure/openai/-/openai-2.0.0.tgz", + "integrity": "sha512-zSNhwarYbqg3P048uKMjEjbge41OnAgmiiE1elCHVsuCCXRyz2BXnHMJkW6WR6ZKQy5NHswJNUNSWsuqancqFA==", "license": "MIT", "dependencies": { - "@azure-rest/core-client": "^1.1.7", - "@azure/core-auth": "^1.4.0", - "@azure/core-rest-pipeline": "^1.13.0", - "@azure/core-sse": "^2.0.0", - "@azure/core-util": "^1.4.0", - "@azure/logger": "^1.0.3", - "tslib": "^2.4.0" + "@azure-rest/core-client": "^2.2.0", + "tslib": "^2.6.3" }, "engines": { "node": ">=18.0.0" diff --git a/package.json b/package.json index aee08be..9a31273 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "typescript-eslint": "^8.11.0" }, "dependencies": { - "@azure/openai": "^1.0.0-beta.11", + "@azure/openai": "^2.0.0", "@dqbd/tiktoken": "^1.0.16", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0",