# agent_panel: Retain draft prompt when creating new draft thread \(\#54387\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 90c8629077e15e57330bc5ea5a311110e4df2610

Requested commit: 90c8629077e15e57330bc5ea5a311110e4df2610

Commit: 90c8629077e15e57330bc5ea5a311110e4df2610

Tree: 7bfd7091eb4c659ef0b24928cbc8c91c1b2548d9

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent_panel: Retain draft prompt when creating new draft thread (#54387)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A
```

## Parents

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

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