# agent_ui: Add component to standardize the configured LLM card \(\#42314\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2fb3d593bc8f9608f0041c8c6183214be7425d5d

Requested commit: 2fb3d593bc8f9608f0041c8c6183214be7425d5d

Commit: 2fb3d593bc8f9608f0041c8c6183214be7425d5d

Tree: c99e0ec40681a9139e6eed628dd42d9fd066e69b

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Add component to standardize the configured LLM card (#42314)

This PR adds a new component to the `language_models` crate called
`ConfiguredApiCard`:

<img width="500" height="420" alt="Screenshot 2025-11-09 at 2  07@2x"
src="https://github.com/user-attachments/assets/655ea941-2df8-4489-a4da-bba34acf33a9"
/>

We were previously recreating this component from scratch with regular
divs in all LLM providers render function, which was redundant as they
all essentially looked the same and didn't have any major variations
aside from labels. We can clean up a bunch of similar code with this
change, which is cool!

Release Notes:

- N/A
```

## Parents

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

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