[PR #1019] [MERGED] feat(tui): add keymap to remove entries from recently used models #9775

Closed
opened 2026-02-16 18:14:09 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1019
Author: @timoclsn
Created: 7/15/2025
Status: Merged
Merged: 7/15/2025
Merged by: @adamdotdevin

Base: devHead: delete-recently-used-entry


📝 Commits (2)

  • 90f4315 feat(tui): add keymap to remove entries from recently used models
  • 75cad6e Add const for number of recentrly used models

📊 Changes

3 files changed (+62 additions, -1 deletions)

View changed files

📝 packages/tui/internal/components/dialog/models.go (+35 -1)
📝 packages/tui/internal/components/dialog/search.go (+18 -0)
📝 packages/tui/internal/config/config.go (+9 -0)

📄 Description

This adds the option to remove entries from the recently used models list with Ctrl + x.

It's nice to quickly clean up the list if you have selected the wrong model or just tried something.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1019 **Author:** [@timoclsn](https://github.com/timoclsn) **Created:** 7/15/2025 **Status:** ✅ Merged **Merged:** 7/15/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `delete-recently-used-entry` --- ### 📝 Commits (2) - [`90f4315`](https://github.com/anomalyco/opencode/commit/90f4315548b33b62494af9fd2347587f3b1cebd9) feat(tui): add keymap to remove entries from recently used models - [`75cad6e`](https://github.com/anomalyco/opencode/commit/75cad6e6b922d82e871c9fce4f5f5b21d00788a1) Add const for number of recentrly used models ### 📊 Changes **3 files changed** (+62 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/internal/components/dialog/models.go` (+35 -1) 📝 `packages/tui/internal/components/dialog/search.go` (+18 -0) 📝 `packages/tui/internal/config/config.go` (+9 -0) </details> ### 📄 Description This adds the option to remove entries from the recently used models list with `Ctrl + x`. It's nice to quickly clean up the list if you have selected the wrong model or just tried something. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:09 -05:00
yindo closed this issue 2026-02-16 18:14:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9775