NousResearch/hermes-agent

Model switch persistence in draft sessions (foreign key error)

Cluster 138260 · gateway · Bug. Data as of

3 open items. Fix attempted, not merged.

The short answer

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

The members concern model switches in draft sessions not persisting; one issue report cites a FOREIGN KEY constraint failure in _append_model_switch_marker with the switch reverting. Two pull requests propose changes to persist the model-switch marker or switch for draft sessions.

Open issues1

  • Issue#138260[Bug]: Switching models in a draft session fails to persist — _append_model_switch_marker hits FOREIGN KEY constraint failed and the switch silently reverts

Open PRs2

  • PR#138268fix: persist model switches for draft sessions
  • PR#151671fix(gateway): persist the model-switch marker on a draft session
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.

For your agent

The same facts, typed.