# NousResearch/hermes-agent · Fix key_cmd callable token sources breaking on string ops

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #113992: fix(agent): pass key_cmd token sources through credential overrides

These issues and fixes address a bug where key_cmd providers returning callable token sources were incorrectly treated as plain strings, causing crashes when string methods like .strip() were called on them. The fix ensures callable token sources are passed through correctly in credential and auxiliary call paths.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 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.

## Closed / duplicate issues

- #113976: key_cmd providers break auxiliary calls: CommandTokenSource is treated as a str

## Prior & competing PRs

- **#113992: fix(agent): pass key_cmd token sources through credential overrides**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `a51c6599447`, `eb6747084d`, `#113976`
  - files: `agent/account_usage.py`, `agent/auxiliary_client.py`, `agent/command_token_source.py`, `hermes_cli/runtime_provider.py`, `hermes_cli/runtime_provider_backends.py`, `tests/agent/test_auxiliary_token_source_overrides.py`
- **#113993: fix(aux): key_cmd token-source callables no longer crash on .strip()**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `62f7e04f843a7aeba98a089a639bfe1af51390ff`, `#114333`, `#113969`

## Fix status

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