From 531890e35a35f9b381d375167a7b104184378153 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Fri, 20 Sep 2024 08:49:00 -0700 Subject: [PATCH] Update types.py --- libs/langgraph/langgraph/pregel/types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"."""