diff --git a/langgraph/package.json b/langgraph/package.json index c73e0dda196cb..96d4becb67c88 100644 --- a/langgraph/package.json +++ b/langgraph/package.json @@ -33,7 +33,7 @@ "license": "MIT", "dependencies": { "@langchain/community": "^0.0.17", - "@langchain/core": "^0.1.14", + "@langchain/core": "^0.1.15", "@langchain/openai": "^0.0.12", "langchain": "^0.1.3" }, diff --git a/langgraph/src/pregel/index.ts b/langgraph/src/pregel/index.ts index 30025e1e687a3..1698176d41c1c 100644 --- a/langgraph/src/pregel/index.ts +++ b/langgraph/src/pregel/index.ts @@ -6,6 +6,7 @@ import { RunnableInterface, RunnableLike, _coerceToRunnable, + patchConfig, } from "@langchain/core/runnables"; import { CallbackManagerForChainRun } from "@langchain/core/callbacks/manager"; import { IterableReadableStream } from "@langchain/core/utils/stream"; @@ -293,7 +294,7 @@ export class Pregel > = nextTasks.map(([proc, input, name]) => [ proc, input, - (proc as Runnable)._patchConfig( + patchConfig( { ...config, runName: name, diff --git a/yarn.lock b/yarn.lock index 405b4cd8f0429..692706e55b96f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -787,6 +787,23 @@ zod "^3.22.3" zod-to-json-schema "3.20.3" +"@langchain/core@^0.1.15": + version "0.1.15" + resolved "https://registry.yarnpkg.com/@langchain/core/-/core-0.1.15.tgz#ae6c19ec07bab6781347f51418bac81c3d911d91" + integrity sha512-H8AH8srLYW/xLx4ziZ51uxL0FSpLf0iRJktTBMsgJDkLtMcCIO4JiP6XyBUvaxWAnh/GrtMEMh/a8gq/CvJdMA== + dependencies: + ansi-styles "^5.0.0" + camelcase "6" + decamelize "1.2.0" + js-tiktoken "^1.0.8" + langsmith "~0.0.48" + ml-distance "^4.0.0" + p-queue "^6.6.2" + p-retry "4" + uuid "^9.0.0" + zod "^3.22.3" + zod-to-json-schema "3.20.3" + "@langchain/openai@^0.0.12", "@langchain/openai@~0.0.10", "@langchain/openai@~0.0.12": version "0.0.12" resolved "https://registry.yarnpkg.com/@langchain/openai/-/openai-0.0.12.tgz#4c6a4dda3ca96f103482f389299e018340aa2b75"