diff --git a/libs/langgraph/langgraph/pregel/types.py b/libs/langgraph/langgraph/pregel/types.py index 452b35328..d34845483 100644 --- a/libs/langgraph/langgraph/pregel/types.py +++ b/libs/langgraph/langgraph/pregel/types.py @@ -120,4 +120,5 @@ StreamMode = Literal["values", "updates", "debug", "messages", "custom"] StreamWriter = Callable[[Any], None] """Callable that accepts a single argument and writes it to the output stream. -Only available when using stream_mode="custom".""" +Always injected into nodes if requested, +but it's a no-op when not using stream_mode="custom"."""