Skip to content

Commit

Permalink
Update internal/controller/tokenizer/add.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 5adb0c9 commit 6ec7528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/tokenizer/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (ic AddController) processAddTokenizer(
if tokenizerFound {
err = fmt.Errorf("the following tokenizer is already downloaded :%s",
tokenizerName)
return warning, "Tokenizer add failed, already downloaded", err
return warning, info, err
}
addedTokenizer := model.Tokenizer{
Path: modelToUse.Path,
Expand Down

0 comments on commit 6ec7528

Please sign in to comment.