# NousResearch/hermes-agent · Non-finite YAML turn limit values (.inf/.nan) crashing hermes chat

## Open now

- 1 issue, 2 PRs open on GitHub.
- #132075: \[Bug\]: \`agent.max_turns: .inf\` in config.yaml crashes \`hermes chat\` at startup with OverflowError
- PR #132085: fix(cli): guard resolve_turn_limit against YAML .inf/.nan floats
- PR #156194: fix(cli): guard resolve_turn_limit against non-finite values

One bug report describes \`agent.max_turns: .inf\` in config.yaml causing an OverflowError at \`hermes chat\` startup. Two pull requests propose guarding \`resolve_turn_limit\` against non-finite values such as YAML .inf and .nan floats.

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

- #132075: \[Bug\]: \`agent.max_turns: .inf\` in config.yaml crashes \`hermes chat\` at startup with OverflowError

## Prior & competing PRs

- **#132085: fix(cli): guard resolve_turn_limit against YAML .inf/.nan floats**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `hermes_cli/config.py`, `tests/hermes_cli/test_resolve_turn_limit.py`
- **#156194: fix(cli): guard resolve_turn_limit against non-finite values**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#132085`
  - files: `hermes_cli/config.py`, `tests/hermes_cli/test_resolve_turn_limit.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
- Kind: `bug` (from the open issues' GitHub type labels).
