mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-23 08:02:23 +02:00
Reduce the number of channels created for each node by 50% (#4064)
- Used to be 2 channels per node, it is now one per node, which is the minimum - Now both hard edges, conditional edges, entrypoint and conditional entrypoint all use the same channel to trigger a node
This commit is contained in:
@@ -97,7 +97,6 @@ def test_no_prompt(
|
||||
_AnyIdHumanMessage(content="hi?"),
|
||||
AIMessage(content="hi?", id="0"),
|
||||
],
|
||||
"agent": "agent",
|
||||
}
|
||||
assert saved.metadata == {
|
||||
"parents": {},
|
||||
@@ -129,7 +128,6 @@ async def test_no_prompt_async(checkpointer_name: str) -> None:
|
||||
_AnyIdHumanMessage(content="hi?"),
|
||||
AIMessage(content="hi?", id="0"),
|
||||
],
|
||||
"agent": "agent",
|
||||
}
|
||||
assert saved.metadata == {
|
||||
"parents": {},
|
||||
|
||||
Reference in New Issue
Block a user