Skip to content

Commit

Permalink
bump langchain/core and fix patch confix method (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul authored Jan 17, 2024
1 parent 9e814f2 commit d180e0c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion langgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 2 additions & 1 deletion langgraph/src/pregel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -293,7 +294,7 @@ export class Pregel
> = nextTasks.map(([proc, input, name]) => [
proc,
input,
(proc as Runnable)._patchConfig(
patchConfig(
{
...config,
runName: name,
Expand Down
17 changes: 17 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d180e0c

Please sign in to comment.