core[major]: AsyncCallbackManagerForToolRun no longer casts return object to string (#20374)

- **Description:** Stops `AsyncCallbackManagerForToolRun` from
converting the output to str
- **Issue:** #20372
- **Dependencies:** None
pull/21598/head
adreo00 4 weeks ago committed by GitHub
parent 25fbe356b4
commit 40aff1eacc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1045,7 +1045,6 @@ class AsyncCallbackManagerForToolRun(AsyncParentRunManager, ToolManagerMixin):
Args:
output (Any): The output of the tool.
"""
output = str(output)
await ahandle_event(
self.handlers,
"on_tool_end",

Loading…
Cancel
Save