fix(tui): fix model filter placeholder text (#790)
commite2dc8e14a3f21d02157c0298a559d481daf6ec2c
authorLuke Mitchell <luke@lpmitchell.com>
dateFri 15 Aug 2025, 22:04 (1 year ago)
parent63e53f1
internal/tui/components/dialogs/models/models.go+1−1
@@ -79,7 +79,7 @@ func NewModelDialogCmp() ModelDialog {
7979 listKeyMap.UpOneItem = keyMap.Previous
8080
8181 t := styles.CurrentTheme()
82− modelList := NewModelListComponent(listKeyMap, "Choose a model for large, complex tasks", true)
82+ modelList := NewModelListComponent(listKeyMap, largeModelInputPlaceholder, true)
8383 apiKeyInput := NewAPIKeyInput()
8484 apiKeyInput.SetShowTitle(false)
8585 help := help.New()
internal/tui/exp/list/filterable_group.go+1
@@ -259,5 +259,6 @@ func (f *filterableGroupList[T]) SetInputWidth(w int) {
259259}
260260
261261func (f *filterableGroupList[T]) SetInputPlaceholder(ph string) {
262+ f.input.Placeholder = ph
262263 f.placeholder = ph
263264}