zeta2: Compute smaller edits (#38786)

The new cloud endpoint returns structured edits, but they may include
more of the input excerpt than what we want to display in the preview,
so we compute a smaller diff on the client side against the snapshot.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga
2025-09-24 13:10:52 +00:00
committed by GitHub
parent e1b57f00a0
commit 4353b61155
3 changed files with 114 additions and 27 deletions
Generated
+1
View File
@@ -20587,6 +20587,7 @@ dependencies = [
"edit_prediction_context",
"futures 0.3.31",
"gpui",
"indoc",
"language",
"language_model",
"log",