diff --git a/poetry.lock b/poetry.lock index a6a33b1d6..8bf17ef39 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1710,13 +1710,13 @@ extended-testing = ["aiosqlite (>=0.19.0,<0.20.0)", "aleph-alpha-client (>=2.15. [[package]] name = "langchain-core" -version = "0.1.46" +version = "0.1.51" description = "Building applications with LLMs through composability" optional = false python-versions = "<4.0,>=3.8.1" files = [ - {file = "langchain_core-0.1.46-py3-none-any.whl", hash = "sha256:1c0befcd2665dd4aa153318aa9bf729071644b4c179e491769b8e583b4bf7441"}, - {file = "langchain_core-0.1.46.tar.gz", hash = "sha256:17c416349f5c7a9808e70e3725749a3a2df5088f1ecca045c883871aa95f9c9e"}, + {file = "langchain_core-0.1.51-py3-none-any.whl", hash = "sha256:3058bdb04d43a8eaae2e249365fe2e8d0356a09c7b2c1afa1a8100f8888da4fa"}, + {file = "langchain_core-0.1.51.tar.gz", hash = "sha256:f7ea116f939be9e74c385baf95d6c84cd7a402b59c2c1893fc054bf98abbefc2"}, ] [package.dependencies] @@ -4094,4 +4094,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.9.0,<4.0" -content-hash = "4c5fea39af2c255ddbc99a3b0ccbdb94e53c3526e210f023f71c95b1d34c0a98" +content-hash = "cbabdffe7e346d4b3385b153a01727e5c4724e55fd00b922114e6589540ed68f" diff --git a/pyproject.toml b/pyproject.toml index 0ad7c8676..9e618d1ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ repository = "https://www.github.com/langchain-ai/langgraph" [tool.poetry.dependencies] python = ">=3.9.0,<4.0" -langchain-core = "^0.1.46" +langchain-core = "^0.1.51" [tool.poetry.group.test.dependencies] diff --git a/tests/__snapshots__/test_pregel.ambr b/tests/__snapshots__/test_pregel.ambr index 1b1866624..9e8af9433 100644 --- a/tests/__snapshots__/test_pregel.ambr +++ b/tests/__snapshots__/test_pregel.ambr @@ -1434,6 +1434,7 @@ ''' graph TD; __start__ --> Researcher; + Researcher -. redo .-> Researcher; Researcher -. continue .-> Chart_Generator; Researcher -. call_tool .-> Call_Tool; Researcher -. end .-> __end__; diff --git a/tests/test_pregel.py b/tests/test_pregel.py index c8f20eda6..aedc89a80 100644 --- a/tests/test_pregel.py +++ b/tests/test_pregel.py @@ -4653,7 +4653,12 @@ def test_repeat_condition(snapshot: SnapshotAssertion) -> None: workflow.add_conditional_edges( "Researcher", router, - {"continue": "Chart Generator", "call_tool": "Call Tool", "end": END}, + { + "redo": "Researcher", + "continue": "Chart Generator", + "call_tool": "Call Tool", + "end": END, + }, ) workflow.add_conditional_edges( "Chart Generator",