# assistant2: Adjust empty state when there is no provider \(\#23609\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7c2b17540b8e06942093771a2ba445a030f8a628

Requested commit: 7c2b17540b8e06942093771a2ba445a030f8a628

Commit: 7c2b17540b8e06942093771a2ba445a030f8a628

Tree: e31b3ead515815e3386889c168f65f6da96ad663

Author: Danilo Leal

Committer: GitHub

## Message

```
assistant2: Adjust empty state when there is no provider (#23609)

This PR add a "Configure a Provider" button if the user gets to the
assistant panel with no provider configured. Then, upon configuring it,
they'll see a similar welcome message.

| No provider | Empty state |
|--------|--------|
| <img width="1233" alt="Screenshot 2025-01-24 at 12 25 48 PM"
src="https://github.com/user-attachments/assets/2f3c602f-9e46-4c79-95cd-4bb3717f68a3"
/> | <img width="1233" alt="Screenshot 2025-01-24 at 12 26 01 PM"
src="https://github.com/user-attachments/assets/a4a204dd-9531-45ab-89a2-f1d84f375a7b"
/> |

Release Notes:

- N/A
```

## Parents

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

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