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 @@ async def astream( 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: