# agent_ui: Persist external agent selections as defaults \(\#57511\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4bee412118dafea3bbd491cd044d354f16b3d665

Requested commit: 4bee412118dafea3bbd491cd044d354f16b3d665

Commit: 4bee412118dafea3bbd491cd044d354f16b3d665

Tree: deacf46c67e2467c6855b4239fa6a52b76560ada

Author: Ben Brandt

Committer: GitHub

## Message

```
agent_ui: Persist external agent selections as defaults (#57511)

Matches behavior from selectors between Zed + external agents.

Also means they will persist across worktree creation :tada:

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

Release Notes:

- N/A
```

## Parents

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

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