# NousResearch/hermes-agent · Fix Nous provider model fetch fallback in setup wizard

## Open now

- Nothing open on GitHub.

These members address a bug where the setup wizard incorrectly falls back to the OpenRouter model list when fetching Nous Portal models fails, leading to 400 errors. The fixes prevent that fallback and instead warn the user and prompt for manual model entry.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #575. Verify it addresses your case.
- **Recommended:** read PR #575 (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-575`. 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.67`: 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

- #574: \[Bug\]: Setup wizard shows OpenRouter model list when Nous Portal model fetch fails, causing \`400 missing model\` errors

## Prior & competing PRs

- **#575: fix(setup): prevent OpenRouter model list fallback for Nous provider**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/setup.py`
  - fix hunks:
  - `hermes_cli/setup.py`

    ```diff
    @@ -1050,6 +1050,15 @@ def run_setup_wizard(args):
                         config['model'] = custom
                         save_env_value("LLM_MODEL", custom)
                 # else: keep current
    +        elif selected_provider == "nous":
    +            # Nous login succeeded but model fetch failed — prompt manually
    +            # instead of falling through to the OpenRouter static list.
    +            print_warning("Could not fetch available models from Nous Portal.")
    +            print_info("Enter a Nous model name manually (e.g., claude-opus-4-6).")
    +            custom = prompt(f"  Model name (Enter to keep '{current_model}')")
    +            if custom:
    +                config['model'] = custom
    +                save_env_value("LLM_MODEL", custom)
             elif selected_provider == "openai-codex":
                 from hermes_cli.codex_models import get_codex_model_ids
                 # Try to get the access token for live model discovery
    ```
- **#584: fix(setup): warn and prompt for manual model entry when Nous model fetch fails**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#574`, `#575`

## Fix status

- Merged to main in PR #575 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-03-08`. This confirmation is old and may be out of date (a revert/reopen would not have invalidated it here); re-verify.
- Subsystem: `hermes_cli`
