# edit prediction: Do not log error when prediction cannot be interpolated \(\#23826\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d2d9f492b9249e8973ed35a430121c86e12222e0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d2d9f492b9249e8973ed35a430121c86e12222e0

Requested commit: d2d9f492b9249e8973ed35a430121c86e12222e0

Commit: d2d9f492b9249e8973ed35a430121c86e12222e0

Tree: 51db43da62f0dd660df100a28cbc54688ab64e1a

Author: Bennet Bo Fenner

Committer: GitHub

## Message

````
edit prediction: Do not log error when prediction cannot be interpolated (#23826)

Previously we returned an error when the interpolation failed in
`process_completion_response`.
However, it is not an error when interpolation returns `None`. That just
means that the predicted edits can be discarded, because the user typed
something that is not a subset of what the model predicted OR if the
model responds with a no-op.
```
2025-01-29T09:44:30.221135+01:00 [ERROR] zeta prediction failed

Caused by:
    Interpolated edits are empty
```

Release Notes:

- N/A
````

## Parents

- [6d4ccb0eb10d6f18e5a23af20d575a699db84b07](https://git.cafe/gitcafe/zed/commit/6d4ccb0eb10d6f18e5a23af20d575a699db84b07?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d2d9f492b9249e8973ed35a430121c86e12222e0?format=markdown)
