# NousResearch/hermes-agent · max_completion_tokens parameter support for specific models

## Open now

- 1 issue, 1 PR open on GitHub.
- #37151: _max_tokens_param should use max_completion_tokens for MiniMax models
- PR #37152: fix(agent): use max_completion_tokens for MiniMax

These issues and pull requests address using the correct max_completion_tokens parameter for MiniMax and GPT-5/o-series models instead of the legacy max_tokens parameter. The changes target specific model families and provider paths to ensure proper token limit handling.

## TL;DR

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

## Open related issues

- #37151: _max_tokens_param should use max_completion_tokens for MiniMax models

## Prior & competing PRs

- **#43163: fix(agent): use max_completion_tokens for gpt-5.x and o-series models regardless of provider path**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `19c07c40379ba711e9db6a522bd0b7454d9d971f`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#37152: fix(agent): use max_completion_tokens for MiniMax**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `19c07c403`
  - files: `run_agent.py`, `tests/run_agent/test_run_agent.py`
- **#124204: fix(params): use max_completion_tokens for MiniMax OpenAI-compat (#37151)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`

## Fix status

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