mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-09 11:17:53 +02:00
remove events
This commit is contained in:
@@ -541,6 +541,10 @@ class RemoteGraph(PregelProtocol):
|
||||
# add 'updates' mode if not present
|
||||
if "updates" not in updated_stream_modes:
|
||||
updated_stream_modes.append("updates")
|
||||
|
||||
# remove 'events', as it's not supported in Pregel
|
||||
if "events" in updated_stream_modes:
|
||||
updated_stream_modes.remove("events")
|
||||
return (updated_stream_modes, requested_stream_modes, req_single, stream)
|
||||
|
||||
def stream(
|
||||
|
||||
Reference in New Issue
Block a user