SIGN IN SIGN UP

assistant edit tool: Fix editing files in context (#26751)

When the user attached context in the thread, the editor model request
would fail because its tool use wouldn't be removed properly leading to
an API error.

Also, after an edit, we'd keep the old file snapshot in the context.
This would make the model think that the edits didn't apply and make it
go in a loop.

Release Notes:

- N/A
A
Agus Zubiaga committed
1bf1c7223f5549217170e28eb30c8f9c8a2cd7c5
Parent: ba8b9ec
Committed by GitHub <noreply@github.com> on 3/14/2025, 8:07:43 PM