ZIm/crates/assistant_tools
Agus Zubiaga 8ec0309645
assistant edit tool: Use buffer search and replace in background (#26679)
Instead of getting the whole text from the buffer, replacing with
`String::replace`, and getting a whole diff, we'll now use `SearchQuery`
to get a range, diff only that range, and apply it (all in the
background).

When we match zero strings, we'll record a "bad search", keep going and
report it to the model at the end.

Release Notes:

- N/A

---------

Co-authored-by: Max <max@zed.dev>
2025-03-13 12:25:49 -03:00
..
src assistant edit tool: Use buffer search and replace in background (#26679) 2025-03-13 12:25:49 -03:00
Cargo.toml Edit tool debugging (#26637) 2025-03-13 04:03:01 +00:00
LICENSE-GPL Factor tool definitions out of assistant (#21189) 2024-11-25 18:26:34 -05:00