# assistant2: Rework enabled tool representation \(\#27527\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 848a99c605035b6bf26a3330319659b93fcd24f0

Requested commit: 848a99c605035b6bf26a3330319659b93fcd24f0

Commit: 848a99c605035b6bf26a3330319659b93fcd24f0

Tree: c4d6701f5b8957459be0b8e872355f02dbc031c6

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant2: Rework enabled tool representation (#27527)

This PR reworks how we store enabled tools in the `ToolWorkingSet`.

We now track them based on which tools are explicitly enabled, rather
than by the tools that have been disabled.

Also fixed an issue where switching profiles wouldn't properly set the
right tools.

Release Notes:

- N/A
```

## Parents

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

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