Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feat/tool result image scaling#283

Closed
philipph-askui wants to merge 5 commits into
main from
feat/tool_result_image_scaling
Closed

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

Conversation

@philipph-askui

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

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.

Copy link
Copy Markdown
Contributor Author

I added this directly to PR #282 (see #fabd05d0bae01539604e2539fe9cfb9386f7846f) and hence will close this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@programminx-askui programminx-askui programminx-askui approved these changes

@mlikasam-askui mlikasam-askui mlikasam-askui approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /