Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ func newRunCmd(desktopClient *desktop.Client) *cobra.Command {
if err := pullModel(cmd, desktopClient, model); err != nil {
return err
}
}
if model != modelDetail.Tags[0] {
} else if model != modelDetail.Tags[0] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if pullModel function should not return a Model struct, so you can update modelDetail 🤔
Anyway it can be done in a follow up PR

model = modelDetail.Tags[0]
}

Expand Down