Repository navigation
fix(models): only the next Claude limit reset can be used; say so plainly - #888
Merged
Merged
Conversation
…inly The server takes resets only in its own order: claiming any but its next_grant_id is refused as ineligible / not_next_grant, as Claude Code's CLI has it. #887 gave every reset a button; back to one, on the reset that can be used now, listed first and framed in the accent. The others say they wait their turn, the hover says resets go one at a time in Anthropic's order, and a refusal (not the next one, not at a limit, already used, cooling down) is told in plain words, not as the server's codes. Co-Authored-By: BaoCode <noreply@baocode.dev>
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.
Follow-up to #887. The server takes limit resets only in its own order: claiming any grant but
next_grant_idis refused asineligible/not_next_grant(the reason is in Claude Code's own CLI, 2.1.293, which words it "A different reset is on offer now · nothing was used"; other clients such as Ghostex and openusage handle it the same way). So the per-reset buttons #887 added could only be refused.Tests:
test/models/claude_resets_test.dart,test/settings/models_page_test.dart(usable one listed first;not_next_granttold in plain words).🤖 Generated with BaoCode