# Store profile per thread \(\#31907\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 709523bf363b48206eb30a8e9bef9a5ce4603c48

Requested commit: 709523bf363b48206eb30a8e9bef9a5ce4603c48

Commit: 709523bf363b48206eb30a8e9bef9a5ce4603c48

Tree: 2f9082b76ee4d2a3d94cd5bd0ee2d777a2e30ea6

Author: Ben Brandt

Committer: GitHub

## Message

```
Store profile per thread (#31907)

This allows storing the profile per thread, as well as moving the logic
of which tools are enabled or not to the profile itself.

This makes it much easier to switch between profiles, means there is
less global state being changed on every profile change.

Release Notes:

- agent panel: allow saving the profile per thread

---------

Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
```

## Parents

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

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