# Introduce recent files ambient context for assistant \(\#11791\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a13a92fbbf534703aaceda42096de9805f8e7a13

Requested commit: a13a92fbbf534703aaceda42096de9805f8e7a13

Commit: a13a92fbbf534703aaceda42096de9805f8e7a13

Tree: eb5e3254928806c8649825494cba26d18f9da032

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Introduce recent files ambient context for assistant (#11791)

<img width="1637" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/5aaec657-3499-42c9-9528-c83728f2a7a1">

Release Notes:

- Added a new ambient context feature that allows showing the model up
to three buffers (along with their diagnostics) that the user interacted
with recently.

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
```

## Parents

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

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