mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 08:58:48 +00:00
fix ontext comment (#500)
This commit is contained in:
parent
a3d2a2ec2a
commit
aae3609aa8
@ -137,7 +137,7 @@ class CallbackManager(BaseCallbackManager):
|
|||||||
handler.on_tool_error(error)
|
handler.on_tool_error(error)
|
||||||
|
|
||||||
def on_text(self, text: str, **kwargs: Any) -> None:
|
def on_text(self, text: str, **kwargs: Any) -> None:
|
||||||
"""Run when agent ends."""
|
"""Run on additional input from chains and agents."""
|
||||||
for handler in self.handlers:
|
for handler in self.handlers:
|
||||||
handler.on_text(text, **kwargs)
|
handler.on_text(text, **kwargs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user