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

This commit is contained in:
Bagatur 2025-02-24 10:40:31 -08:00 committed by GitHub
parent b7a1705052
commit d00d645829
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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