Change summary
internal/tui/components/dialogs/models/models.go | 2 +-
internal/tui/exp/list/filterable_group.go | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
Detailed changes
@@ -79,7 +79,7 @@ func NewModelDialogCmp() ModelDialog {
listKeyMap.UpOneItem = keyMap.Previous
t := styles.CurrentTheme()
- modelList := NewModelListComponent(listKeyMap, "Choose a model for large, complex tasks", true)
+ modelList := NewModelListComponent(listKeyMap, largeModelInputPlaceholder, true)
apiKeyInput := NewAPIKeyInput()
apiKeyInput.SetShowTitle(false)
help := help.New()
@@ -259,5 +259,6 @@ func (f *filterableGroupList[T]) SetInputWidth(w int) {
}
func (f *filterableGroupList[T]) SetInputPlaceholder(ph string) {
+ f.input.Placeholder = ph
f.placeholder = ph
}