> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/gym/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/gym/_mcp/server.

# nemo_gym.cli.models

## Module Contents

### Functions

| Name                                                    | Description                                                                                       |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [`_inspect_model`](#nemo_gym-cli-models-_inspect_model) | Render the `gym list models &lt;name&gt;` inspect view for one model (thin: no usage example).    |
| [`list_models`](#nemo_gym-cli-models-list_models)       | List model servers (one row per `--model-type` value: `Model` is the token to pass, `Model group` |

### API

```python
nemo_gym.cli.models._inspect_model(
    name: str,
    models: dict,
    global_config_dict
) -> None
```

Render the `gym list models &lt;name&gt;` inspect view for one model (thin: no usage example).

`name` may be a bare model or a `&lt;model&gt;/&lt;flavor&gt;` token; a valid flavor renders the model's
(main) inspection.

```python
nemo_gym.cli.models.list_models() -> None
```

List model servers (one row per `--model-type` value: `Model` is the token to pass, `Model group`
its model), or inspect one by name (`gym list models &lt;name&gt;`). Optionally filtered by a `query` (the
`gym search models` entry point). `--search-dir` adds extra roots on top of the cwd and built-ins.