mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 18:23:59 +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:
|
Args:
|
||||||
output (Any): The output of the tool.
|
output (Any): The output of the tool.
|
||||||
"""
|
"""
|
||||||
output = str(output)
|
|
||||||
await ahandle_event(
|
await ahandle_event(
|
||||||
self.handlers,
|
self.handlers,
|
||||||
"on_tool_end",
|
"on_tool_end",
|
||||||
|
Loading…
Reference in New Issue
Block a user