mirror of
https://github.com/hwchase17/langchain.git
synced 2026-05-19 14:20:55 +00:00
Adds @overload signatures to `Runnable.astream_events` and introduces a new `Runnable.stream_events` sync method, both accepting `version='v3'`. The base-class implementation raises `NotImplementedError` with a message directing callers to use a subclass that implements the v3 streaming protocol (BaseChatModel, CompiledGraph). v1/v2 behavior is unchanged.