astream_events(
self,
input: Input,
config: RunnableConfig | None = None,
**kwargs: Forward astream_events to the bound runnable with bound kwargs merged.
For version="v3", returns an awaitable that resolves to the
bound runnable's typed stream object (e.g. AsyncChatModelStream).
For version="v1" / "v2", returns an async iterator over
StreamEvent items.
Without this override, __getattr__ would drop self.kwargs — losing
tools bound via bind_tools, stop sequences, etc.