Files
zed/crates
Bennet Bo FennerandBen Brandt 70ee54da8f agent: Add write_file tool (#55865)
Splits the edit tool into two separate tools `write_file` (previously
`mode = write`), and `edit_file` (previously `mode = edit`).
This makes the JSON schema for the `edit_tool` much simpler. We've seen
models (especially older ones) struggle with providing `mode = edit +
edits` and `mode = write + content` fields. This seems to improve eval
scores for Sonnet 4.6 slightly.

Also added two unit evals to ensure that the model uses the tool to
create new/override existing files

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2026-05-06 15:47:18 +00:00
..
2026-05-06 15:47:18 +00:00
2026-05-04 06:30:47 +00:00
2026-04-21 07:25:22 +00:00
2026-04-29 10:27:47 +00:00
2026-04-29 10:27:47 +00:00
2026-05-05 09:35:08 +00:00
2026-05-04 06:30:47 +00:00
2026-04-29 10:27:47 +00:00
2026-04-29 10:27:47 +00:00
…
2026-04-29 10:27:47 +00:00
2026-05-06 14:45:32 +00:00