# assistant: Improve the language model selector \(\#25125\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2627a5fdbe2a0373f0585db38bbce71e9e773673

Requested commit: 2627a5fdbe2a0373f0585db38bbce71e9e773673

Commit: 2627a5fdbe2a0373f0585db38bbce71e9e773673

Tree: 4f4c48c0231eb81e815342123072f0c715e3ac91

Author: Danilo Leal

Committer: GitHub

## Message

```
assistant: Improve the language model selector (#25125)

This PR includes change such as:

- Ensures the popover width is fixed/not dancing around
- Ensures the popover is not obscuring the trigger in the buffer and
terminal inline assistant scenarios
- Removes ellipsis from the trigger button label
- Ensures the scrollbar doesn't hide the check icon

| Terminal | Prompt Editor | Buffer |
|--------|--------|--------|
| ![Screenshot 2025-02-18 at 8 43
46 PM](https://github.com/user-attachments/assets/9cdfbaf1-f27e-4f48-877e-9cf61767ecee)
| ![Screenshot 2025-02-18 at 8 43
49 PM](https://github.com/user-attachments/assets/7abf9be2-bd2a-43d7-9a5d-d665e7e9fda3)
| ![Screenshot 2025-02-18 at 8 43
52 PM](https://github.com/user-attachments/assets/017bbdb3-185a-4bf6-9005-018ecafef9dd)
|

Release Notes:

- N/A
```

## Parents

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

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