# assistant: Fix \`assistant: open prompt library\` not opening the prompt library \(\#28156\) · gitcafe/zed

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

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

Visibility: public

Requested revision: adbebb28dc51f5b31c572bbb41481fdbbdacc464

Requested commit: adbebb28dc51f5b31c572bbb41481fdbbdacc464

Commit: adbebb28dc51f5b31c572bbb41481fdbbdacc464

Tree: e6f8fef82a307a260e240c2f0d8e179c8c23dbc1

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant: Fix `assistant: open prompt library` not opening the prompt library (#28156)

This PR fixes the `assistant: open prompt library` action in the command
palette not opening the prompt library when the Assistant Panel did not
have focus.

Fixes https://github.com/zed-industries/zed/issues/28058.

Release Notes:

- assistant: Fixed `assistant: open prompt library` not opening the
prompt library when the Assistant Panel was not focused.
```

## Parents

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

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