NousResearch/hermes-agent
api_mode handling when switching providers via hermes model
Cluster 3685 · hermes cli. Data as of
Nothing open on GitHub. Fix merged in #3726 on 29 Mar 2026. Check it covers your case.
The short answer
0open issues
0open PRs
3items grouped
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #3726. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #3726. That is separate from the fix event. - Still open
- Nothing open on GitHub.
All three members concern the hermes model command and how api_mode is set or reset when switching providers. Two are identically titled fix entries and one is a bug report; the titles alone don't show the outcome or status of any change.
Open issues0
Open PRs0
Fixes on record
-
#3726 fix: set api_mode when switching providers via hermes model
files:
hermes_cli/main.pyShow the diff
-
hermes_cli/main.py@@ -980,6 +980,7 @@ def _model_flow_openrouter(config, current_model=""): cfg["model"] = model model["provider"] = "openrouter" model["base_url"] = OPENROUTER_BASE_URL + model["api_mode"] = "chat_completions" save_config(cfg) deactivate_provider() print(f"Default model set to: {selected} (via OpenRouter)") @@ -1203,6 +1204,7 @@ def _model_flow_custom(config): cfg["model"] = model model["provider"] = "custom" model["base_url"] = effective_url + model["api_mode"] = "chat_completions" save_config(cfg) deactivate_provider() @@ -1984,6 +1986,7 @@ def _model_flow_kimi(config, current_model=""): cfg["model"] = model model["provider"] = provider_id model["base_url"] = effective_base + model["api_mode"] = "chat_completions" save_config(cfg) deactivate_provider() @@ -2090,6 +2093,7 @@ def _model_flow_api_key_provider(config, provider_id, current_model=""): cfg["model"] = model model["provider"] = provider_id model["base_url"] = effective_base + model["api_mode"] = "chat_completions" save_config(cfg) deactivate_provider()
-
1 PR closed without merging
From the close comments: merged via another change 1
-
#3686 fix: set api_mode when switching providers via hermes model · merged via another change →
#3726
Closed issues · 1
- Closed#3685[Bug] hermes model doesn't reset api_mode when switching providers
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- hermes cli
- Merged PRs
- #3726
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 29 Mar 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.