Skip to content

Binary tool results not passed to ExternalToolTextResultForLlm #1644

Description

@sophiehenning

In

result=ExternalToolTextResultForLlm(
, an ExternalToolTextResultForLlm is created to be sent to HandlePendingToolCallRequest. However, the binary_results_for_llm attribute from tool_result is not copied over, but only the text result.
I believe this could be the reason why the agent I am building is unable to process image results of tools (stating that it cannot view the image, while directly sending an image as a blob attachment works fine).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions