mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-16 09:48:04 +00:00
core[major]: AsyncCallbackManagerForToolRun no longer casts return object to string (#20374)
- **Description:** Stops `AsyncCallbackManagerForToolRun` from converting the output to str - **Issue:** #20372 - **Dependencies:** None
This commit is contained in:
parent
25fbe356b4
commit
40aff1eacc
@ -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…
Reference in New Issue
Block a user