Repository navigation
feat(models): let the user pick which Claude limit reset to use - #887
Merged
Merged
Conversation
The hover listed the resets as plain lines, with a small Next tag and one button under all of them that always took the server's next_grant_id, so which one would be used was hard to tell and could not be chosen. Each reset now sits in its own frame, titled by its label, with a button that uses that one; the frame under the pointer is lit in the accent. The one the server would take first is tagged Default. A pick is checked again before it is sent, as still usable, and the server's answer is shown as it is. 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.
The limit-reset hover listed the resets as plain lines, with a small Next tag and one button under all of them that always took the server's
next_grant_id, so which one would be used was hard to tell and could not be chosen.Tests:
test/models/claude_resets_test.dart,test/settings/models_page_test.dart(picking the second reset claims that one).🤖 Generated with BaoCode