# assistant2: Make context persistent in the thread \(\#22789\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fffa40f97303d6c93b135bbc058a664af4093811

Requested commit: fffa40f97303d6c93b135bbc058a664af4093811

Commit: fffa40f97303d6c93b135bbc058a664af4093811

Tree: e8e7e2fb803cdcb9f4592b6f1774f93c4801780e

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant2: Make context persistent in the thread (#22789)

This PR makes it so the context is persistent in the thread, rather than
having to reattach it for each message.

This PR intentionally does not make an attempt to refresh the attached
context if it changes. That will come in a follow-up.

Release Notes:

- N/A
```

## Parents

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

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