Repository navigation
T27 OS: a restored pane starts on the free flash model with the rotation's key and fails over on an empty key - #11287
Merged
Merged
Conversation
…e rotation's key and fails over on an empty key (Closes #11284) The record of a restored pane named glm-5.2 and the command line passed it as --model, which beat the profile's model variable: every z.ai key answers 1113 for it, so no key swap could help. Three decisions were wrong for any pane and showed on the restored one: the model came from the record (keys.t27 model_for_profile, pty_logic launch_model: the profile's tier map, never the saved id), error_row ignored Claude Code's retry rows although a retry cannot cure an empty account (z.ai answers 429 code 1113, ten retries, minutes), and fo_action left the provider on 1113 and 401/403 instead of trying the next key, which with only z.ai keys stored ended in a give-up. Default z.ai model is now glm-4.5-flash (measured 2026-10-20T08:49Z, 200 on 7 of 7 keys), second model of the tier glm-4.7-flash (200 on 2 of 7, 529 on 5). A pane rotates over every key, then takes the next model of the tier (FA_RESPAWN_MODEL, per-pane step in G_MSTEP, rests lifted for the new model), then the next profile, then gives up once (giveup_quiet_ms: as long as the key rests). MAX_FAILOVERS 12 -> 24 to cover keys times models. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ion's key and fails over on an empty key (Closes #11284) Merge of master plus sealing, gates run on the merged tree with t27c from master: tests clean with vacuous passes 0, seal --verify MATCH, tri types ratchet CLEAN, dupe_scan failure set a subset of master's. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
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.
Closes #11284
T27 OS: a restored pane starts on the free flash model with the rotation's key and fails over on an empty key
Gates run on the merged tree (t27c from master): 2 spec(s) with tests clean and vacuous passes 0, seal --verify MATCH, tri types ratchet CLEAN, dupe_scan failure set a subset of master's (inherited red).
TEST specs/t27os/keys.t27 tests=[86] fail=[0] vacuous=[0]
TEST specs/t27os/pty_logic.t27 tests=[45] fail=[0] vacuous=[0]
SEAL specs/t27os/keys.t27 :: all hashes MATCH
SEAL specs/t27os/pty_logic.t27 :: all hashes MATCH
TYPES RATCHET: CLEAN
DUPE failing=4 extra-vs-master=[]
🤖 Generated with Claude Code