fix(tui): update model selection labels for clarity and consistency
This commit is contained in:
parent
05b14422a1
commit
7d3948830c
2 changed files with 4 additions and 7 deletions
|
|
@ -337,16 +337,13 @@ func (s *appState) selectedModelName() string {
|
|||
|
||||
func rootModelLabel(selected string) string {
|
||||
if selected == "" {
|
||||
return "Model (no model selected)"
|
||||
return "Model (None)"
|
||||
}
|
||||
return "Model (" + selected + ")"
|
||||
}
|
||||
|
||||
func rootModelDescription(selected string) string {
|
||||
if selected == "" {
|
||||
return "no model selected"
|
||||
}
|
||||
return "selected"
|
||||
return "Using SPACE to choose your model"
|
||||
}
|
||||
|
||||
func rootChannelLabel(valid bool) string {
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ func (s *appState) modelMenu() tview.Primitive {
|
|||
// Add model entry appended at the end so the models map to rows 1..N
|
||||
items = append(items,
|
||||
MenuItem{
|
||||
Label: "Add model",
|
||||
Label: "**Add model**",
|
||||
Description: "Append a new model entry",
|
||||
Action: func() {
|
||||
newName := s.nextAvailableModelName("new-model")
|
||||
|
|
@ -282,7 +282,7 @@ func refreshModelMenuFromState(menu *Menu, s *appState) {
|
|||
}
|
||||
items = append(items,
|
||||
MenuItem{
|
||||
Label: "Add model",
|
||||
Label: "**Add Model**",
|
||||
Description: "Append a new model entry",
|
||||
Action: func() {
|
||||
newName := s.nextAvailableModelName("new-model")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue