feat: Make recent models display and storage limit limit configurable (resolves #5533)#5534
Closed
ariane-emory wants to merge 173 commits into
Closed
feat: Make recent models display and storage limit limit configurable (resolves #5533)#5534ariane-emory wants to merge 173 commits into
ariane-emory wants to merge 173 commits into
Conversation
ariane-emory
marked this pull request as draft
December 14, 2025 20:04
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 anomalyco#5533
ariane-emory
force-pushed
the
feat/configurable-recent-models-limit
branch
from
December 14, 2025 21:06
9702d66 to
1f128eb
Compare
ariane-emory
marked this pull request as ready for review
December 14, 2025 21:10
…de into feat/sinister-quotes
thdxr
force-pushed
the
dev
branch
2 times, most recently
from
January 30, 2026 14:37
f1ae801 to
08fa7f7
Compare
# Conflicts: # packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx
…iane-emory/opencode into feat/configurable-recent-models-limit # Conflicts: # packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx
…iane-emory/opencode into feat/configurable-recent-models-limit
1 task
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.
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