mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-15 15:24:59 +00:00
Fix Typos in Comments and Error Messages (#5637)
* Update initializers.go Signed-off-by: kilavvy <140459108+kilavvy@users.noreply.github.com> * Update base.go Signed-off-by: kilavvy <140459108+kilavvy@users.noreply.github.com> --------- Signed-off-by: kilavvy <140459108+kilavvy@users.noreply.github.com>
This commit is contained in:
parent
282e017b22
commit
2e1dc8deef
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
package base
|
||||
|
||||
// This is a wrapper to statisfy the GRPC service interface
|
||||
// This is a wrapper to satisfy the GRPC service interface
|
||||
// It is meant to be used by the main executable that is the server for the specific backend type (falcon, gpt3, etc)
|
||||
import (
|
||||
"fmt"
|
||||
|
|
|
@ -332,7 +332,7 @@ func (ml *ModelLoader) grpcModel(backend string, autodetect bool, o *Options) fu
|
|||
} else {
|
||||
grpcProcess := backendPath(o.assetDir, backend)
|
||||
if err := utils.VerifyPath(grpcProcess, o.assetDir); err != nil {
|
||||
return nil, fmt.Errorf("refering to a backend not in asset dir: %s", err.Error())
|
||||
return nil, fmt.Errorf("referring to a backend not in asset dir: %s", err.Error())
|
||||
}
|
||||
|
||||
if autodetect {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue