{"repo":"NousResearch/hermes-agent","public_id":"118969","display_label":"Model/provider state persistence after fallback or route rewrite","summary":"These items appear to share a theme: the stored model or provider state may become inconsistent after a fallback or route change, including an odd provider:model pairing and chats reopening with a different model than expected. One member refers to syncing model_config when the model column is rewritten, but the titles alone do not show how the items relate beyond that theme.","subsystem":"agent","kind":"bug","counts":{"members":3,"open_issues":1,"open_issues_distinct":1,"open_prs":0,"closed_issues":0,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":156827,"merged_at":"2026-11-17T08:22:39+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-11-17T08:22:39+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":118969,"pr_number":156827,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-11-17T08:22:39+00:00"}],"members":[{"kind":"issue","number":118969,"title":"[Bug]: Fallback persists an impossible provider:model pair (xai + deepseek-v4-flash) after a failed first call","url":null,"state":"open"},{"kind":"pr","number":118982,"title":"fix(state): sync model_config when the first accounted route rewrites the model column","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#156827","number":156827}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":156827,"title":"Reopened chats keep the picked model after a fallback answered (Desktop, TUI, CLI --resume) (salvage #121629)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["gateway/run_turn_prepare.py","hermes_cli/cli_model_switch_mixin.py","hermes_state_gateway.py","hermes_state_sessions.py","tests/tui_gateway/test_resume_switched_provider_endpoint.py","tui_gateway/agent_factory.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}