# build_auto_mode_notice_body

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/auto_mode_notice/build_auto_mode_notice_body)

Describe the reviewing model in the Auto notice body.

## Signature

```python
build_auto_mode_notice_body(
    model_label: str | None,
    *,
    distinct_from_main_model: bool,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `model_label` | `str \| None` | Yes | Spec of the model that reviews gated actions, or `None` when it is not known (no resolved main-model spec yet). |
| `distinct_from_main_model` | `bool` | Yes | Whether that model differs from the one writing code. Drives the wording, because naming a model without saying which role it plays is what made the old copy misleading. |

## Returns

`str`

Markdown notice body containing the safely escaped model label.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/2069079e09546060f5b52b2cd4f0e3c813e820f3/libs/code/deepagents_code/tui/widgets/auto_mode_notice.py#L60)