mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-29 01:48:57 +00:00
quick comment fixes (#494)
This commit is contained in:
parent
e3edd74eab
commit
164806a844
@ -60,7 +60,7 @@ class Chain(BaseModel, ABC):
|
|||||||
) -> BaseCallbackManager:
|
) -> BaseCallbackManager:
|
||||||
"""If callback manager is None, set it.
|
"""If callback manager is None, set it.
|
||||||
|
|
||||||
This allows users to pass in None as context manager, which is a nice UX.
|
This allows users to pass in None as callback manager, which is a nice UX.
|
||||||
"""
|
"""
|
||||||
return callback_manager or get_callback_manager()
|
return callback_manager or get_callback_manager()
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ class BaseLLM(BaseModel, ABC):
|
|||||||
) -> BaseCallbackManager:
|
) -> BaseCallbackManager:
|
||||||
"""If callback manager is None, set it.
|
"""If callback manager is None, set it.
|
||||||
|
|
||||||
This allows users to pass in None as context manager, which is a nice UX.
|
This allows users to pass in None as callback manager, which is a nice UX.
|
||||||
"""
|
"""
|
||||||
return callback_manager or get_callback_manager()
|
return callback_manager or get_callback_manager()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user