# NousResearch/hermes-agent · Stale base_url persisting after model provider switch

## Open now

- Nothing open on GitHub.

The three members share a theme: after switching model providers, a previous provider's base_url (and possibly api_mode) may remain in configuration. One is a bug report describing an Ollama Cloud model being sent to a Codex/chatgpt.com endpoint, and the other two are fix-oriented pull requests addressing stale or dropped provider settings.

## 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 #114853. Verify it addresses your case.
- **Recommended:** read PR #114853 (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: `unresolved`. 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

- #47521: \[Bug\]: Regression: Ollama Cloud model switch keeps stale Codex base_url and sends deepseek-v4-pro to chatgpt.com endpoint

## Prior & competing PRs

- **#114853: fix(config): config set model.provider drops the previous provider's base_url/api_mode (#113719, salvage #40869)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/error_classifier.py`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `hermes_cli/config.py`, `hermes_cli/route_identity.py`, `tests/agent/test_error_classifier.py`, `tests/hermes_cli/test_set_config_value.py`, `website/docs/reference/cli-commands.md`
- **#47533: fix: prevent stale base_url after provider switch**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `7530f4038358`, `#114853`, `#113719`, `#40869`

## Fix status

- Merged to main in PR #114853 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-18`.
- Subsystem: `agent`
