# Support provider-side compaction in the language model clients \(\#59145\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 33a54ce42366f78b8bc06f7837cc74a01baadcf8

Requested commit: 33a54ce42366f78b8bc06f7837cc74a01baadcf8

Commit: 33a54ce42366f78b8bc06f7837cc74a01baadcf8

Tree: 67a20779c7f0d7159fff8ffb796bbfdfd901c9ee

Author: Agus Zubiaga

Committer: GitHub

## Message

```
Support provider-side compaction in the language model clients (#59145)

Adds provider-side context compaction support to the Anthropic and
OpenAI API clients. Client plumbing only; not wired into the UI.

Release Notes:

- N/A
```

## Parents

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

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