Skip to content

Commit

Permalink
fix: --ask-model print api name too (#214)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 authored Mar 7, 2024
1 parent ffa5231 commit 6258e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ func newModelSelect() *huh.Select[string] {
for _, api := range config.APIs {
for model := range api.Models {
opts = append(opts, huh.Option[string]{
Key: model,
Key: fmt.Sprintf("%s • %s", api.Name, model),
Value: model,
})
}
Expand Down

0 comments on commit 6258e8c

Please sign in to comment.