# Wire up \`AssistantPanelDelegate\` based on \`assistant2\` feature flag \(\#23444\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1e1997c97ba7d4e684d8aae1dd195255875a466e

Requested commit: 1e1997c97ba7d4e684d8aae1dd195255875a466e

Commit: 1e1997c97ba7d4e684d8aae1dd195255875a466e

Tree: e20e5ea0dbb0a61d3703a3d74dd7c656ed3456c3

Author: Marshall Bowers

Committer: GitHub

## Message

```
Wire up `AssistantPanelDelegate` based on `assistant2` feature flag (#23444)

This PR adjusts how the `AssistantPanelDelegate` global is set to be
based on the state of the feature flag.

This should prevent `assistant` and `assistant2` from potentially
clobbering each other.

Release Notes:

- N/A
```

## Parents

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

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