fix ontext comment (#500)

This commit is contained in:
Ankush Gola 2022-12-31 03:06:16 -08:00 committed by GitHub
parent a3d2a2ec2a
commit aae3609aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ class CallbackManager(BaseCallbackManager):
handler.on_tool_error(error)
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:
handler.on_text(text, **kwargs)