diff --git a/package.json b/package.json index 44ab897..f21baba 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,11 @@ "peerDependencies": { "@langchain/core": ">=0.1.0" }, + "peerDependenciesMeta": { + "@langchain/core": { + "optional": true + } + }, "devDependencies": { "@commitlint/cli": "^18.0.0", "@commitlint/config-conventional": "^18.0.0", diff --git a/yarn.lock b/yarn.lock index 635d0c4..7dd163c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -705,6 +705,9 @@ __metadata: yaml: ^2.3.3 peerDependencies: "@langchain/core": ">=0.1.0" + peerDependenciesMeta: + "@langchain/core": + optional: true languageName: unknown linkType: soft