Skip to content

fix(status): provider label honors config.yaml model.base_url (#3296 salvage) - #810

Merged
hashbender merged 1 commit into
mainfrom
mirror/pr-57002
Jul 2, 2026
Merged

fix(status): provider label honors config.yaml model.base_url (#3296 salvage)#810
hashbender merged 1 commit into
mainfrom
mirror/pr-57002

Conversation

@hashbender

Copy link
Copy Markdown
Owner

Summary

hermes status no longer mislabels a custom endpoint as "OpenRouter" — _effective_provider_label() only checked the legacy OPENAI_BASE_URL env var, ignoring the canonical model.base_url in config.yaml (which the runtime treats as the single source of truth).

Salvage of the surviving hunk of NousResearch#3296 by @Mibayy — the PR's gateway _handle_provider_command hunk targets code removed on main (/provider was absorbed into /model + /status, which already read model.base_url).

Changes

  • hermes_cli/status.py: check load_config()['model']['base_url'] in addition to the env var before labeling "custom"
  • tests/hermes_cli/test_status_provider_label.py: 5 tests (config base_url, env base_url, neither, blank, non-openrouter passthrough)
  • scripts/release.py: AUTHOR_MAP entry

Validation

Result
new tests 5/5 pass

Infographic

infographic

Nous Research


Mirror-of: NousResearch#57002
NousResearch#57002

@hashbender
hashbender merged commit d1520ff into main Jul 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant