# format_cli_version_annotation

> **Function** in `deepagents_code`

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

Return the source/metadata drift annotation for the CLI version line.

Editable status is surfaced separately by every caller (the dedicated
`Editable install:` line on `--version`/`/version`, and the `Install method`
item in `doctor`), so it is intentionally *not* repeated inline here — that
kept the CLI reading "editable" twice on those surfaces.

## Signature

```python
format_cli_version_annotation(
    info: DistributionVersion,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `info` | `DistributionVersion` | Yes | The CLI version facts. |

## Returns

`str`

A trailing ` (...)` suffix flagging any drift between the source and
installed metadata versions, or an empty string when they agree (so
normal installs stay unchanged).

---

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