Skip to content

Commit

Permalink
Update internal/controller/tokenizer/update.go
Browse files Browse the repository at this point in the history
Co-authored-by: RayanMarmar <[email protected]>
  • Loading branch information
OmarElChamaa and RayanMarmar authored Apr 15, 2024
1 parent 481e01b commit 00190f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/tokenizer/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (ic UpdateTokenizerController) processUpdateTokenizer(args []string) (warni
// Get all configured models objects/names and args model
models, err := config.GetModels()
if err != nil {
return warning, info, fmt.Errorf("error get model: %s", err.Error())
return warning, info, fmt.Errorf("error while getting configured models: %s", err.Error())
}
if len(models) == 0 {
err = fmt.Errorf("no models to choose from")
Expand Down

0 comments on commit 00190f3

Please sign in to comment.