# NousResearch/hermes-agent · Anthropic fast-mode speed param leaks to fallback providers

## Open now

- 1 issue, 2 PRs open on GitHub.
- #122010: \[Bug\]: Fallback provider switch keeps Anthropic fast-mode \`speed\`, crashing OpenAI-compatible fallbacks with \`TypeError: Completions.create() got an unexpected keyword argument 'speed'\`
- PR #122018: fix(agent): let OpenAI-compatible fallbacks answer after Anthropic fast-mode failure
- PR #122473: fix(agent): re-gate pinned fast-mode overrides on provider fallback/switch

A bug where the 'speed' keyword argument specific to Anthropic fast-mode is incorrectly passed to OpenAI-compatible fallback providers, causing a TypeError. The accompanying fixes re-gate or strip that parameter when switching providers.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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.

## Open related issues

- #122010: \[Bug\]: Fallback provider switch keeps Anthropic fast-mode \`speed\`, crashing OpenAI-compatible fallbacks with \`TypeError: Completions.create() got an unexpected keyword argument 'speed'\`

## Prior & competing PRs

- **#122018: fix(agent): let OpenAI-compatible fallbacks answer after Anthropic fast-mode failure**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#108026`
  - files: `agent/agent_runtime_helpers.py`, `agent/chat_completion_helpers.py`, `agent/fast_mode.py`, `tests/agent/test_fallback_fast_mode_route.py`, `tests/agent/test_primary_runtime_restore.py`, `tests/agent/test_switch_model_request_overrides.py`
- **#122473: fix(agent): re-gate pinned fast-mode overrides on provider fallback/switch**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `11d630f1b6466b016f26812dc16aefee589f87f3`, `3099c782cd`, `#122018`, `#122018`
  - files: `agent/agent_init.py`, `agent/agent_runtime_helpers.py`, `agent/chat_completion_helpers.py`, `agent/fast_mode.py`, `gateway/run_turn_runner.py`, `tests/agent/test_fast_mode_auto.py`, `tests/agent/test_init_fallback_on_exhausted_pool.py`, `tests/agent/test_primary_runtime_restore.py`, `tests/agent/test_provider_fallback.py`, `tests/agent/test_switch_model_request_overrides.py`, `tests/gateway/test_turn_request_overrides.py`, `website/docs/user-guide/configuration.md`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
