# agent: One Thread History \(\#46785\) · gitcafe/zed

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

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

Visibility: public

Requested revision: db2f2ad45a98d2345b4e51120588579e4076322f

Requested commit: db2f2ad45a98d2345b4e51120588579e4076322f

Commit: db2f2ad45a98d2345b4e51120588579e4076322f

Tree: acc9e95659c9bdd3a91db3465aed268371fcb7d7

Author: Ben Brandt

Committer: GitHub

## Message

```
agent: One Thread History (#46785)

This makes sure that all of the work we do for caching/refreshing
session history is reused everywhere we need to access the list.

Very important for external agents so we aren't rerequesting history on
every search or recent list update. Puts the reloading of history in one
place

Release Notes:

- N/A
```

## Parents

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

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