Files
t3code/apps
raman325andClaude Fable 5 948eb8a1ca fix(server): skip redundant Hermes session/set_model
Hermes model selection sent session/set_model unconditionally, including
when the session was already on the requested model. Grok's ACP fix
(#9154) made the mock agent reject set_model for ids it does not
advertise as switchable, which surfaced the redundancy: selecting the
session's current model failed instead of no-opping.

applyHermesAcpModelSelection now takes the session's current model id
(read from session setup at start, tracked on the session for turns) and
sends set_model only when the selection actually changes the model.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QingonqJgq96d3byM5qRh9
2026-09-02 14:43:57 -04:00
..