# NousResearch/hermes-agent · _extract_pricing crashes on list-typed pricing values

## Open now

- 1 issue, 1 PR open on GitHub.
- #32618: bug: _extract_pricing crashes on list-typed pricing values, causing context_length fallback to 256K
- PR #42854: fix(model_metadata): guard against list-typed pricing values in _extract_pricing (#32618)

A bug where list-typed or nested pricing values cause _extract_pricing to crash, triggering an incorrect context_length fallback. Multiple fixes and reports address guarding against unhashable list values in that function.

## TL;DR

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

## Open related issues

- #32618: bug: _extract_pricing crashes on list-typed pricing values, causing context_length fallback to 256K

## Prior & competing PRs

- **#32628: fix(agent): guard _extract_pricing against unhashable list-typed values**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#42854: fix(model_metadata): guard against list-typed pricing values in _extract_pricing (#32618)**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `450ad5055e`, `#32618`
  - files: `agent/model_metadata.py`, `tests/hermes_cli/test_api_key_providers.py`

## Fix status

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