Repository navigation
fix(voice): a refused escalation tries the everyday role's fallback models before the fast model - #676
Merged
Conversation
…allback models before the fast model A kiosk turn escalated to the local 35B while a GPU job held the box; the orchestrator refused it and the turn fell to the 4B, which ran out of time, though another capable model was up. resolveVoiceKeys now returns escalateFallbacks (the everyday binding's fallback roles, resolved), and an escalation refused for box_reserved / serving_class / acquire_failed / unresolved tries them in order. A cold start does not. The kiosk metrics line records which fallback served (escalation_fallback). Implemented by the Pi coding agent (deepseek-v4.1-flash). Claude-Session: https://claude.ai/code/session_01N9fXzvNy8rCEArj1y5p6fp
kh0pper
force-pushed
the
fix/voice-escalation-fallback
branch
from
October 30, 2026 22:18
ed75238 to
3083417
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A kiosk voice turn ("play a random album") escalated to the
everydayrole's model, the local 35B, while a long GPU job held the box. The orchestrator refused it (box_reserved), and the turn fell back to the small fast model, which ran out of time (failed: budget). Another capable model was up the whole time.Model role bindings already store an optional
fallbacklist of role ids; voice ignored it.servers/shared/voice-keys.js:resolveVoiceKeysalso returnsescalateFallbacks. These are theeverydaybinding's fallback roles resolved to model keys, in order and de-duplicated, excluding the escalate and fast keys. It's empty whenCOMPANION_ESCALATION_MODELis set, when nothing is configured, or on any failure. The module still uses lazy imports only.servers/gateway/voice/turn.js:box_reserved,serving_class,acquire_failedorunresolvedtries each fallback key in order.escalation_fallback(the provider id).resolveVoiceKeysreturns, de-duplicates and env-overrides the fallbacks.Nothing changes until a fallback is configured on the
everydaybinding.https://claude.ai/code/session_01N9fXzvNy8rCEArj1y5p6fp