-
Notifications
You must be signed in to change notification settings - Fork 3.7k
feat: Make recent models display and storage limit limit configurable (resolves #5533) #5534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ariane-emory
wants to merge
31
commits into
sst:dev
Choose a base branch
from
ariane-emory:feat/configurable-recent-models-limit
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: Make recent models display and storage limit limit configurable (resolves #5533) #5534
ariane-emory
wants to merge
31
commits into
sst:dev
from
ariane-emory:feat/configurable-recent-models-limit
+23
−5
Conversation
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
Add tui.recent_models_count setting to allow users to configure how many recent models are stored and displayed in the model selection dialog. - Add recent_models_count field to TUI config schema (1-50, default 10) - Update storage logic in local.tsx to use configurable limit - Update display logic in dialog-model.tsx to use same limit - Regenerate TypeScript SDK to include new field Fixes sst#5533
9702d66 to
1f128eb
Compare
…iane-emory/opencode into feat/configurable-recent-models-limit
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.
This resolves #5533 by making the number of recent models that are stored and displayed consistent, with a default of 5.
Additionally, an optional
tui.recent_models_countsetting that can be set inopencode.jsonis added that a user may choose to use if they'd prefer a different limit.Resolves #5533