# NousResearch/hermes-agent · Auxiliary API-key fallback selection fixes

## Open now

- Nothing open on GitHub.

These issues and fixes address problems with auxiliary compression auto-fallback incorrectly selecting providers (e.g. Gemini) when API keys are missing or invalid. Changes tighten fallback logic to skip invalid keys and require explicit opt-in.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #107366. Verify it addresses your case.
- **Recommended:** read PR #107366 (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: `resolved` · deciding PR(s): `pr-107366`. 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.50`: 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

- #54684: Auxiliary compression auto-fallback selects Gemini despite missing/invalid API key after Codex timeout

## Prior & competing PRs

- **#107366: fix(routing): /model and auxiliary auto never bill a provider the user did not select (Astra→OpenRouter, Grok→Nous)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `hermes_cli/models.py`, `hermes_cli/models_detect.py`, `tests/agent/test_auxiliary_auto_never_guesses_provider.py`, `tests/agent/test_auxiliary_client.py`, `tests/hermes_cli/test_models_detect_vendor_ownership.py`, `website/docs/user-guide/configuring-models.md`, `website/docs/user-guide/features/fallback-providers.md`
- **#54882: fix(auxiliary): skip invalid api-key fallbacks**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `ee35a4624fa`, `#107366`, `#54684`
- **#59514: fix(auxiliary): require opt-in for api-key auto fallback**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `ee35a4624fa`, `#107366`, `#54684`

## Fix status

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