assistant edit tool: Improve bad search output (#27012)

When we failed to match a search string, we were reporting the replace
string as not found, this confuses the model and can make it go into a
doom loop. This PR fixes that improves the error output in general to
help it recover faster.

Release Notes:

- N/A
68a572873bAgus Zubiaga committed on 3/19/2025, 12:53:20 AM· committed by GitHubparentc042a02
1 file changedLine totals unavailable