ZIm/crates/anthropic
Richard Feldman 8fdf309a4a
Have read_file support images (#30435)
This is very basic support for them. There are a number of other TODOs
before this is really a first-class supported feature, so not adding any
release notes for it; for now, this PR just makes it so that if
read_file tries to read a PNG (which has come up in practice), it at
least correctly sends it to Anthropic instead of messing up.

This also lays the groundwork for future PRs for more first-class
support for images in tool calls across more image file formats and LLM
providers.

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
2025-05-13 10:58:00 +02:00
..
src Have read_file support images (#30435) 2025-05-13 10:58:00 +02:00
Cargo.toml Add more eval examples + filtering examples by language + fix git concurrent usage (#28719) 2025-04-14 22:05:46 +00:00
LICENSE-GPL anthropic: Fix license (#23867) 2025-01-29 23:03:20 +00:00