# supported_efforts_for_model

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/reasoning_effort/supported_efforts_for_model)

Return reasoning efforts supported by `model_spec`.

Returns plain `str` labels rather than `EffortLabel`: this is the public
boundary where the label vocabulary is intentionally dropped, since the
values flow straight to the UI.

## Signature

```python
supported_efforts_for_model(
    model_spec: str | None,
) -> tuple[str, ...]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `model_spec` | `str \| None` | Yes | `provider:model` spec for the active model. |

## Returns

`tuple[str, ...]`

Supported effort labels, or an empty tuple when the model is unsupported.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/reasoning_effort.py#L478)