From d00d645829a9af6ec9a3998ba2c549ae6ca1643f Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Mon, 24 Feb 2025 10:40:31 -0800 Subject: [PATCH] docs[patch]: update disable_streaming docstring (#29968) --- libs/core/langchain_core/language_models/chat_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core/langchain_core/language_models/chat_models.py b/libs/core/langchain_core/language_models/chat_models.py index dca8e9edaea..1bba3ffd5c8 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