# NousResearch/hermes-agent · Allow spaces in model names for custom providers

## Open now

- 0 issues, 2 PRs open on GitHub.
- PR #37707: fix: allow spaces in model names and pass custom_providers for context display
- PR #43144: fix(models): allow spaces in model names for self-hosted providers

A bug was reported where model names containing spaces were incorrectly rejected. These issues and fixes address allowing spaces in model names, particularly for self-hosted or custom providers.

## TL;DR

- 6 member(s): 0 open issue(s), 1 closed issue(s), 2 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #121435. Verify it addresses your case.
- **Recommended:** read PR #121435 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-121435`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.33`: 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.

## Closed / duplicate issues

- #43140: \[Bug\]: "✗ Model names cannot contain spaces."

## Prior & competing PRs

- **#43261: fix(cli): allow model names with spaces (#43140)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#37707`, `#43140`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#121435: fix(models): allow spaces in self-hosted and user-configured model ids**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/cli_model_switch_mixin.py`, `hermes_cli/inventory.py`, `hermes_cli/model_switch_providers.py`, `hermes_cli/models_validate.py`, `tests/hermes_cli/test_model_validation.py`
- **#37707: fix: allow spaces in model names and pass custom_providers for context display**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `9d848cc60a3197b70a067a49f0b0c1984d72ccb1`, `#59522`
  - files: `cli.py`, `hermes_cli/models.py`
- **#43144: fix(models): allow spaces in model names for self-hosted providers**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/models.py`, `tests/hermes_cli/test_model_validation.py`
- **#43148: fix(cli): allow model names with spaces in validate_requested_model (#43140)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#43144`

## Fix status

- Merged to main in PR #121435 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-24`.
- Subsystem: `hermes_cli`
