From 8b85a3e9e5a501a9ce080f57d3f79159287c70e6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 19 Dec 2024 18:32:30 +0000
Subject: [PATCH] fix(deps): update dependency @langchain/openai to ^0.3.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
 .../plugins/lightspeed-backend/package.json   |  2 +-
 workspaces/lightspeed/yarn.lock               | 25 ++++++++++---------
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/workspaces/lightspeed/plugins/lightspeed-backend/package.json b/workspaces/lightspeed/plugins/lightspeed-backend/package.json
index c761c5b1a..915648c18 100644
--- a/workspaces/lightspeed/plugins/lightspeed-backend/package.json
+++ b/workspaces/lightspeed/plugins/lightspeed-backend/package.json
@@ -49,7 +49,7 @@
     "@backstage/plugin-permission-common": "^0.8.1",
     "@backstage/plugin-permission-node": "^0.8.5",
     "@langchain/core": "^0.2.30",
-    "@langchain/openai": "^0.2.8",
+    "@langchain/openai": "^0.3.0",
     "@red-hat-developer-hub/backstage-plugin-lightspeed-common": "workspace:^",
     "express": "^4.21.1",
     "http-proxy-middleware": "^3.0.2"
diff --git a/workspaces/lightspeed/yarn.lock b/workspaces/lightspeed/yarn.lock
index dfd11da34..1f36fe46c 100644
--- a/workspaces/lightspeed/yarn.lock
+++ b/workspaces/lightspeed/yarn.lock
@@ -8118,7 +8118,7 @@ __metadata:
   languageName: node
   linkType: hard
 
-"@langchain/core@npm:>=0.2.26 <0.3.0, @langchain/core@npm:^0.2.30":
+"@langchain/core@npm:^0.2.30":
   version: 0.2.36
   resolution: "@langchain/core@npm:0.2.36"
   dependencies:
@@ -8137,16 +8137,17 @@ __metadata:
   languageName: node
   linkType: hard
 
-"@langchain/openai@npm:^0.2.8":
-  version: 0.2.11
-  resolution: "@langchain/openai@npm:0.2.11"
+"@langchain/openai@npm:^0.3.0":
+  version: 0.3.15
+  resolution: "@langchain/openai@npm:0.3.15"
   dependencies:
-    "@langchain/core": ">=0.2.26 <0.3.0"
     js-tiktoken: ^1.0.12
-    openai: ^4.57.3
+    openai: ^4.77.0
     zod: ^3.22.4
     zod-to-json-schema: ^3.22.3
-  checksum: afd192901ff5996008f5d2988ceba09847701b9832503ca0b75c4ba919d3df1be547571c78c8e024aef29ba592e4d4c6f7e16bcb487f21077667ec311da7cd55
+  peerDependencies:
+    "@langchain/core": ">=0.2.26 <0.4.0"
+  checksum: c57d71bd55ed11dda1c79a314a25c807d10fafd2eb38418ebe9790f80517b0e75383864fdbfd95f71e266f9c04b3b0fd96b2a14bf1a529cd0871a450d59c5c2c
   languageName: node
   linkType: hard
 
@@ -10832,7 +10833,7 @@ __metadata:
     "@backstage/plugin-permission-node": ^0.8.5
     "@ianvs/prettier-plugin-sort-imports": ^4.4.0
     "@langchain/core": ^0.2.30
-    "@langchain/openai": ^0.2.8
+    "@langchain/openai": ^0.3.0
     "@red-hat-developer-hub/backstage-plugin-lightspeed-common": "workspace:^"
     "@spotify/prettier-config": ^15.0.0
     "@types/express": 4.17.21
@@ -28306,9 +28307,9 @@ __metadata:
   languageName: node
   linkType: hard
 
-"openai@npm:^4.52.6, openai@npm:^4.57.3":
-  version: 4.72.0
-  resolution: "openai@npm:4.72.0"
+"openai@npm:^4.52.6, openai@npm:^4.77.0":
+  version: 4.77.0
+  resolution: "openai@npm:4.77.0"
   dependencies:
     "@types/node": ^18.11.18
     "@types/node-fetch": ^2.6.4
@@ -28324,7 +28325,7 @@ __metadata:
       optional: true
   bin:
     openai: bin/cli
-  checksum: 483fac9ea6b3215b50be054b16c35d181563d0d2ac5dd9d802d373742dbe2a499d6531bb3d3267ea8835a1563dc185e64b0aecf541b508e576bea8db5884bcf0
+  checksum: e311130e3b35a7dc924e7125cca3246b7ac958b3c451f2f4ef2cae72144c82429f9c6db7bf67059fc9e10f3911087ebf8a9a4b2919ac915235ed3c324897b146
   languageName: node
   linkType: hard