# NousResearch/hermes-agent · Model alias lookup via model_aliases in chat and custom providers

## Open now

- 1 issue, 2 PRs open on GitHub.
- #18954: Model aliases not resolved for custom providers
- PR #19213: fix(config): resolve direct model aliases at runtime
- PR #62534: fix(cli): resolve --model <alias> through model_aliases in interactive chat (#62491)

Most members concern \`--model <alias>\` in \`hermes chat\` not being looked up through \`model_aliases\`, with the alias apparently passed to the default provider as-is. Related items touch runtime/config alias handling and custom providers, including one on \`api_key_env\` in \`_get_named_custom_provider\`, which may be a slightly separate angle.

## TL;DR

- 6 member(s): 1 open issue(s), 2 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.34`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #18954: Model aliases not resolved for custom providers

## Closed / duplicate issues

- #62491: hermes chat --model <alias> ignores model_aliases, falls through to default provider
- #62494: hermes chat --model <alias> ignores model_aliases, routes alias verbatim to default provider

## Prior & competing PRs

- **#44667: fix(runtime): handle api_key_env alias in _get_named_custom_provider**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#19213: fix(config): resolve direct model aliases at runtime**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#29198`
  - files: `cli.py`, `gateway/run.py`, `hermes_cli/model_switch.py`, `hermes_cli/oneshot.py`, `tests/cli/test_cli_provider_resolution.py`, `tests/gateway/test_session_model_override_routing.py`, `tests/hermes_cli/test_oneshot_model_aliases.py`
- **#62534: fix(cli): resolve --model <alias> through model_aliases in interactive chat (#62491)**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `c1517f018`
  - files: `cli.py`, `tests/cli/test_cli_provider_resolution.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
- Kind: `bug` (from the open issues' GitHub type labels).
