Skip to content

Feat/tool result image scaling#283

Open
philipph-askui wants to merge 5 commits into
mainfrom
feat/tool_result_image_scaling
Open

Feat/tool result image scaling#283
philipph-askui wants to merge 5 commits into
mainfrom
feat/tool_result_image_scaling

Conversation

@philipph-askui

@philipph-askui philipph-askui commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Background:
anthropic imposes a maximum image size of 2000x2000px for images if we have more than 20 images in the message history.

We need to discuss if we want to handle downwscaling here for all tool result images that are too large or if we want to have this as a tool responsibility!

Either way, we need to add a method to image utils that can be used by tools or our sdk to downscale the image outputs.

@philipph-askui philipph-askui marked this pull request as ready for review June 10, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant