fix(nous): use curated model list instead of full API dump for Nous Portal#3867
Merged
fix(nous): use curated model list instead of full API dump for Nous Portal#3867
Conversation
…ortal All three Nous Portal model selection paths (hermes model, first-time login, setup wizard) were hitting the live /models endpoint and showing every model available — potentially hundreds. Now uses the curated _PROVIDER_MODELS['nous'] list (25 agentic models matching OpenRouter defaults) with 'Enter custom model name' for anything else. Fixed in: - hermes_cli/main.py: _model_flow_nous() - hermes_cli/auth.py: _login_nous() model selection - hermes_cli/setup.py: post-login model selection
|
itsXactlY
pushed a commit
to itsXactlY/hermes-agent
that referenced
this pull request
Mar 30, 2026
…ortal (NousResearch#3867) All three Nous Portal model selection paths (hermes model, first-time login, setup wizard) were hitting the live /models endpoint and showing every model available — potentially hundreds. Now uses the curated _PROVIDER_MODELS['nous'] list (25 agentic models matching OpenRouter defaults) with 'Enter custom model name' for anything else. Fixed in: - hermes_cli/main.py: _model_flow_nous() - hermes_cli/auth.py: _login_nous() model selection - hermes_cli/setup.py: post-login model selection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
All three Nous Portal model selection paths were calling
fetch_nous_models()which hits the live/modelsendpoint and returns every model available — potentially hundreds. Users selecting Nous Portal viahermes modelgot an overwhelming dump instead of the curated agentic models we show for OpenRouter.Fix
Replaced
fetch_nous_models()calls with the curated_PROVIDER_MODELS['nous']list (25 models, same as OpenRouter defaults). Users can still pick unlisted models via "Enter custom model name."Three paths fixed:
hermes_cli/main.py:_model_flow_nous()— already-logged-in model pickerhermes_cli/auth.py:_login_nous()— first-time login model selectionhermes_cli/setup.py: post-login model selection in setup wizardTests
7070 passed, 2 pre-existing failures, 0 regressions.