release: langgraph + prebuilt (#6875)

This commit is contained in:
Sydney Runkle
2026-02-19 13:12:01 -05:00
committed by GitHub
parent b73b2d19eb
commit 73cebea3c2
7 changed files with 12 additions and 18 deletions
+1 -3
View File
@@ -5929,9 +5929,7 @@ def test_no_redundant_put_writes_for_cached_task(
# Count unique non-null task IDs that got put_writes.
# Should be exactly 2: the ask task and the entrypoint task.
# If 3, the cached setup task is being redundantly re-committed.
non_null = set(
tid for tid in put_writes_task_ids if not tid.startswith("00000000")
)
non_null = set(tid for tid in put_writes_task_ids if not tid.startswith("00000000"))
assert len(non_null) == 2, (
f"Expected 2 task IDs in put_writes (ask + entrypoint), got {len(non_null)}"
)
+2 -6
View File
@@ -8052,9 +8052,7 @@ async def test_no_redundant_put_writes_for_cached_task(
# Count unique non-null task IDs that got put_writes.
# Should be exactly 2: the ask task and the entrypoint task.
# If 3, the cached setup task is being redundantly re-committed.
non_null = set(
tid for tid in put_writes_task_ids if not tid.startswith("00000000")
)
non_null = set(tid for tid in put_writes_task_ids if not tid.startswith("00000000"))
assert len(non_null) == 2, (
f"Expected 2 task IDs in put_writes (ask + entrypoint), got {len(non_null)}"
)
@@ -8095,9 +8093,7 @@ async def test_node_before_interrupt_resume_graph_api(
config = {"configurable": {"thread_id": "1"}}
# First invocation - setup runs, then ask interrupts on the first topic
result = await graph.ainvoke(
{"topics": ["a", "b"], "answers": []}, config=config
)
result = await graph.ainvoke({"topics": ["a", "b"], "answers": []}, config=config)
assert "__interrupt__" in result
assert len(result["__interrupt__"]) == 1
assert result["__interrupt__"][0].value == "Whats the answer for topic 1?"