diff --git a/libs/langchain-community/package.json b/libs/langchain-community/package.json index 7aa94523207b..bb0ed7742777 100644 --- a/libs/langchain-community/package.json +++ b/libs/langchain-community/package.json @@ -40,7 +40,7 @@ "expr-eval": "^2.0.2", "flat": "^5.0.2", "js-yaml": "^4.1.0", - "langchain": ">=0.2.3 <0.4.0", + "langchain": ">=0.2.3 <0.3.0 || >=0.3.4 <0.4.0", "langsmith": "^0.2.0", "uuid": "^10.0.0", "zod": "^3.22.3", diff --git a/yarn.lock b/yarn.lock index 016aa674a020..e8e3b962c8ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11582,7 +11582,7 @@ __metadata: js-yaml: ^4.1.0 jsdom: ^22.1.0 jsonwebtoken: ^9.0.2 - langchain: ">=0.2.3 <0.4.0" + langchain: ">=0.2.3 <0.3.0 || >=0.3.4 <0.4.0" langsmith: ^0.2.0 llmonitor: ^0.5.9 lodash: ^4.17.21 @@ -32875,7 +32875,7 @@ __metadata: languageName: node linkType: hard -"langchain@>=0.2.3 <0.4.0, langchain@workspace:*, langchain@workspace:langchain": +"langchain@>=0.2.3 <0.3.0 || >=0.3.4 <0.4.0, langchain@workspace:*, langchain@workspace:langchain": version: 0.0.0-use.local resolution: "langchain@workspace:langchain" dependencies: