diff --git a/libs/langgraph/langgraph/types.py b/libs/langgraph/langgraph/types.py index 01073e62d..222e37866 100644 --- a/libs/langgraph/langgraph/types.py +++ b/libs/langgraph/langgraph/types.py @@ -302,6 +302,8 @@ def _update_as_tuples(self) -> Sequence[tuple[str, Any]]: PARENT: ClassVar[Literal["__parent__"]] = "__parent__" +StreamChunk = tuple[tuple[str, ...], str, Any] + class StreamProtocol: __slots__ = ("modes", "__call__")