From af9a09b182d08d88adbed47874a53262aa8b2d9f Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Wed, 30 Oct 2024 14:52:59 -0700 Subject: [PATCH] Fix typo in remote graph astream --- libs/langgraph/langgraph/pregel/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/pregel/remote.py b/libs/langgraph/langgraph/pregel/remote.py index ccf4306f2..7c5a6b40a 100644 --- a/libs/langgraph/langgraph/pregel/remote.py +++ b/libs/langgraph/langgraph/pregel/remote.py @@ -663,7 +663,7 @@ class RemoteGraph(PregelProtocol): stream_mode=stream_modes_ext, interrupt_before=interrupt_before, interrupt_after=interrupt_after, - stream_subgraphs=subgraphs, + stream_subgraphs=subgraphs or stream is not None, if_not_exists="create", ): if "|" in chunk.event: