# ModelLabel

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/widgets/status/ModelLabel)

A label that displays a model name, right-aligned with smart truncation.

When the full `provider:model` text doesn't fit, the provider is dropped
first. If the bare model name still doesn't fit, it is left-truncated
with a leading ellipsis so the most distinctive tail stays visible.

## Signature

```python
ModelLabel()
```

## Extends

- `Widget`

## Properties

- `provider`
- `model`

## Methods

- [`get_content_width()`](https://reference.langchain.com/python/deepagents-cli/widgets/status/ModelLabel/get_content_width)
- [`render()`](https://reference.langchain.com/python/deepagents-cli/widgets/status/ModelLabel/render)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0b13f3e0e2726fdb7bbe1e0cf88dac76dbd43b01/libs/cli/deepagents_cli/widgets/status.py#L27)