feat(recently-used): show provider

Amolith created

Display provider friendly name beside each recent model entry for
better differentiation when the same model is available through
multiple providers.

Uses list item shortcut feature for adaptive spacing and automatic
color adjustment on highlighted rows.

Assisted-by: Claude Sonnet 4.5 via Crush

Change summary

internal/tui/components/dialogs/models/list.go | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

Detailed changes

internal/tui/components/dialogs/models/list.go 🔗

@@ -287,10 +287,16 @@ func (m *ModelListComponent) SetModelType(modelType int) tea.Cmd {
 			}
 			validRecentItems = append(validRecentItems, recent)
 			recentID := fmt.Sprintf("recent::%s", key)
+			modelOption := option.Value()
+			providerName := modelOption.Provider.Name
+			if providerName == "" {
+				providerName = string(modelOption.Provider.ID)
+			}
 			item := list.NewCompletionItem(
-				option.Text(),
+				modelOption.Model.Name,
 				option.Value(),
 				list.WithCompletionID(recentID),
+				list.WithCompletionShortcut(providerName),
 			)
 			recentGroup.Items = append(recentGroup.Items, item)
 			if recent.Model == currentModel.Model && recent.Provider == currentModel.Provider {