cmd: ollama launch always show model picker (#14299)

This commit is contained in:
Parth Sareen
2026-02-17 12:02:14 -08:00
committed by GitHub
parent ec95c45f70
commit 2f4de1acf7
5 changed files with 76 additions and 44 deletions

View File

@@ -126,7 +126,7 @@ func (c *Claude) ConfigureAliases(ctx context.Context, model string, existingAli
fmt.Fprintf(os.Stderr, "\n%sModel Configuration%s\n\n", ansiBold, ansiReset)
if aliases["primary"] == "" || force {
primary, err := DefaultSingleSelector("Select model:", items)
primary, err := DefaultSingleSelector("Select model:", items, aliases["primary"])
if err != nil {
return nil, false, err
}