Skip to content

fix(models): add openrouter/fusion to model picker with router-model allowlist - #47485

Closed
RasputinKaiser wants to merge 1 commit into
NousResearch:mainfrom
RasputinKaiser:fix/openrouter-fusion-model-picker
Closed

fix(models): add openrouter/fusion to model picker with router-model allowlist#47485
RasputinKaiser wants to merge 1 commit into
NousResearch:mainfrom
RasputinKaiser:fix/openrouter-fusion-model-picker

Conversation

@RasputinKaiser

Copy link
Copy Markdown

Problem

openrouter/fusion is missing from the Hermes model picker (both CLI and desktop app).

Root Cause

OpenRouter's Fusion model publishes an empty supported_parameters: [] list. The _openrouter_model_supports_tools() function was filtering it out because an empty list doesn't contain "tools".

Fix

  1. Add openrouter/fusion to OPENROUTER_MODELS static list
  2. Introduce _OPENROUTER_ROUTER_MODELS allowlist for OpenRouter router models
  3. Add a router-model bypass in _openrouter_model_supports_tools() so router models are never dropped by the live tool-support filter
  4. Rebuild website/static/api/model-catalog.json (33 → 34 models)

Once deployed, the remote catalog at hermes-agent.nousresearch.com/docs/api/model-catalog.json will include openrouter/fusion and it will appear in the model picker.

…allowlist

openrouter/fusion publishes an empty supported_parameters list
which caused _openrouter_model_supports_tools() to filter it out
of the model picker. Add:
- openrouter/fusion to OPENROUTER_MODELS static list
- _OPENROUTER_ROUTER_MODELS allowlist for router models
- Router-model bypass in _openrouter_model_supports_tools()
- Rebuilt website/static/api/model-catalog.json (33 → 34 models)
@alt-glitch alt-glitch added type/bug Something isn't working comp/cli CLI entry point, hermes_cli/, setup wizard provider/openrouter OpenRouter aggregator P3 Low — cosmetic, nice to have duplicate This issue or pull request already exists labels Jun 16, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Duplicate of #46067 — same fix: adds openrouter/fusion to the model picker and allowlists the OpenRouter router aliases ({openrouter/fusion, openrouter/pareto-code}) in _openrouter_model_supports_tools so they survive the empty-supported_parameters filter. #46067 (open, filed 06-14) is the earlier canonical version. Same files (hermes_cli/models.py + model-catalog.json), same approach.

@teknium1

Copy link
Copy Markdown
Contributor

Closing in favor of #46094, which adds configurable Fusion presets as the canonical OpenRouter Fusion implementation. Thanks for the contribution — the Fusion direction is being consolidated there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard duplicate This issue or pull request already exists P3 Low — cosmetic, nice to have provider/openrouter OpenRouter aggregator type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants