Skip to content

Update handling of ImageUrl for Anthropic Models to use image URLs not binary content #1318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 1, 2025

Conversation

jnishiyama
Copy link
Contributor

Claude Models can now use Image URLs (https://docs.anthropic.com/en/docs/build-with-claude/vision?q=image#can-claude-read-image-urls). This PR now treats the handling of ImageUrl as an Image URL as opposed to fetching the binary content.

@Kludex
Copy link
Member

Kludex commented Apr 1, 2025

Thanks!

@Kludex Kludex merged commit 07e31e0 into pydantic:main Apr 1, 2025
16 checks passed
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.

2 participants