fix ontext comment (#500)

harrison/callback-updates
Ankush Gola 1 year ago committed by GitHub
parent a3d2a2ec2a
commit aae3609aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save