# NousResearch/hermes-agent · Mistral list payload and padding field bug fixes

## Open now

- Nothing open on GitHub.

These issues and fixes address bugs caused by Mistral's 'p' padding field and list-shaped thinking/tool argument payloads breaking streaming and reasoning extraction. The fixes handle stripping, flattening, and type-checking for these unexpected list values in custom provider contexts.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #121534. Verify it addresses your case.
- **Recommended:** read PR #121534 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

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

## Closed / duplicate issues

- #106006: \[Bug\]: Custom provider (Mistral) streaming breaks after Mistral added \`p\` padding field — 'list' object has no attribute 'strip' + false "network error" retry loop

## Prior & competing PRs

- **#121534: fix(agent): strip stray arg tags to the line boundary, keep glued-name strip; flatten list thinking payloads**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_runtime_helpers.py`, `contributors/emails/154926636+AdamPlatin123@users.noreply.github.com`, `hermes_cli/cli_render.py`, `tests/agent/test_run_agent.py`, `tests/agent/test_strip_reasoning_tags_cli.py`
- **#106015: fix(agent): flatten list-shaped thinking block payloads in extract_reasoning**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `cf8b08edac`, `#121534`, `#106006`
- **#106933: fix(stream): handle Mistral p padding and list tool args for custom providers (#106006)**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`

## Fix status

- Merged to main in PR #121534 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-24`.
