SIGN IN SIGN UP

Fix more failure cases of assistant edits (#19653)

* Make `description` optional (since we describe it as optional in the
prompt, and we're currently not showing it)
* Fix fuzzy location bug that neglected the cost of deleting prefixes of
the query.
* Make auto-indent work for single-line edits. Previously, auto-indent
would not occur when overwriting a single line (without inserting or
deleting a newline)

Release Notes:

- N/A
M
Max Brunsfeld committed
43258190751251b4fa03ce721d74acd1d414a241
Parent: c19c89e
Committed by GitHub <noreply@github.com> on 10/25/2024, 9:30:34 PM