ZIm/crates/assistant_tool/src
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
..
action_log.rs Restore original file content when rejecting an overwritten file (#29974) 2025-05-06 07:05:55 +00:00
assistant_tool.rs Have read_file support images (#30435) 2025-05-13 10:58:00 +02:00
outline.rs Don't show deleted hunks when agent overwrites file (#29918) 2025-05-05 13:13:36 +00:00
tool_registry.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tool_schema.rs agent: Improve Gemini tool schema compatibility (#30216) 2025-05-08 09:06:35 +00:00
tool_working_set.rs agent: Make ToolWorkingSet an Entity (#28757) 2025-04-15 14:42:31 +02:00