AsyncCallbackManagerForToolRun improperly casts on_tool_end to string #20372
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
🔌: openai
Primarily related to OpenAI integrations
Ɑ: Runnables
Related to Runnables
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Assertion error:
Description
When using an agent executor, and we call a tool, I expect the actual output of the tool, rather than the output being cast to a string.
This bug was originally raised here, and partially fixed except for when using an agent executor in this PR.
This comment shows the cause of the issue: #18932 (comment)
System Info
The text was updated successfully, but these errors were encountered: