Skip to content

Commit 14ef8b7

Browse files
removed debugging code
1 parent 19a6246 commit 14ef8b7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

cmd/cli/llmSetup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func UpdateLLM() error {
8484
}
8585
opNo,_,err := prompt.Run()
8686
if err != nil {
87-
fmt.Println(err)
87+
return err
8888
}
8989

9090
apiKeyprompt := promptui.Prompt {

cmd/cli/store/store.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ func ListSavedModels() (*Config, error){
213213
return nil, err
214214
}
215215
} else {
216-
fmt.Println("Config file is empty, Please add atlead one LLM Key")
217-
return nil, errors.New("config file is empty")
216+
return nil, errors.New("config file is empty, Please add atlead one LLM Key")
218217
}
219218

220219

0 commit comments

Comments
 (0)