# Lay the groundwork to support history in agent2 \(\#36483\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6c255c19736389916e8862f339464ae319dc9019

Requested commit: 6c255c19736389916e8862f339464ae319dc9019

Commit: 6c255c19736389916e8862f339464ae319dc9019

Tree: 03a0810fe5145b4edb74cb085952fc92d9b44f4f

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Lay the groundwork to support history in agent2 (#36483)

This pull request introduces title generation and history replaying. We
still need to wire up the rest of the history but this gets us very
close. I extracted a lot of this code from `agent2-history` because that
branch was starting to get long-lived and there were lots of changes
since we started.

Release Notes:

- N/A
```

## Parents

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

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