NousResearch/hermes-agent

Mistral tool-to-user role adjacency fix

Cluster 20154 · agent. Data as of

2 open items. Fix attempted, not merged.

The short answer

1open issue
1open PR
3items grouped
Known?
Yes. 3 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 1 PR closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
1 issue and 1 PR.

These items address a Mistral-specific error that occurs when a user role immediately follows a tool role in multi-turn conversations. The proposed fix inserts a bridging assistant message between tool and user turns to satisfy Mistral's role ordering requirements.

Open issues1

  • Issue#20154Mistral models fail with 'Unexpected role user after role tool' in multi-turn tool conversations

Open PRs1

  • PR#84944fix(agent): bridge tool->user role adjacency for Mistral endpoints

1 PR closed without merging

From the close comments: duplicate 1

  • #99155 fix(agent): insert empty assistant bridge between tool->user turns for Mistral models · duplicate → #84944
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Closed issues
0
Attempts
1 PR closed without merging

For your agent

The same facts, typed.