Skip to content

Commit 2dea765

Browse files
Merge pull request #186 from ibuildthecloud/json
bug: don't print help after --list-models
2 parents 91a660c + fa6429c commit 2dea765

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cli/gptscript.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ func (r *GPTScript) Run(cmd *cobra.Command, args []string) error {
151151
return err
152152
}
153153
fmt.Println(strings.Join(models, "\n"))
154+
return nil
154155
}
155156

156157
if r.ListTools {

0 commit comments

Comments
 (0)