# Attachment store for assistant2 \(\#11327\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3e5dcd1bec4f22023c81ee6048c3305cfb61fcda

Requested commit: 3e5dcd1bec4f22023c81ee6048c3305cfb61fcda

Commit: 3e5dcd1bec4f22023c81ee6048c3305cfb61fcda

Tree: 5232b813377fbe9ebd1c684f8ac214b7aa4d788a

Author: Kyle Kelley

Committer: GitHub

## Message

```
Attachment store for assistant2 (#11327)

This sets up a way for the user (or Zed) to _push_ context instead of
having the model retrieve it with a function. Our first use is the
contents of the current file.

<img width="399" alt="image"
src="https://github.com/zed-industries/zed/assets/836375/198429a5-82af-4b82-86f6-cb961f10de5c">

<img width="393" alt="image"
src="https://github.com/zed-industries/zed/assets/836375/cfb52444-723b-4fc1-bddc-57e1810c512b">

I heard the asst2 example was deleted in another branch so I deleted
that here too since we wanted the workspace access.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
```

## Parents

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

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