Skip to content

The agent engineering platform.

docs[patch]: update disable_streaming docstring (#29968)

Bagaturd00d645829a9
diff --git a/libs/core/langchain_core/language_models/chat_models.py b/libs/core/langchain_core/language_models/chat_models.py
index dca8e9edae..1bba3ffd5c 100644
--- a/libs/core/langchain_core/language_models/chat_models.py
+++ b/libs/core/langchain_core/language_models/chat_models.py
@@ -208,8 +208,8 @@ class BaseChatModel(BaseLanguageModel[BaseMessage], ABC):
disable_streaming: Union[bool, Literal["tool_calling"]] = False
"""Whether to disable streaming for this model.
- If streaming is bypassed, then ``stream()/astream()`` will defer to
- ``invoke()/ainvoke()``.
+ If streaming is bypassed, then ``stream()``/``astream()``/``astream_events()`` will
+ defer to ``invoke()``/``ainvoke()``.
- If True, will always bypass streaming case.
- If "tool_calling", will bypass streaming case only when the model is called