mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-15 05:28:07 +00:00
No need to set 0 for default context anymore
This commit is contained in:
2
main.go
2
main.go
@ -179,7 +179,7 @@ echo "An Alpaca (Vicugna pacos) is a domesticated species of South American came
|
||||
fmt.Println("Templating the input failed:", err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
l, err := llama.New(ctx.String("model"), 0)
|
||||
l, err := llama.New(ctx.String("model"))
|
||||
if err != nil {
|
||||
fmt.Println("Loading the model failed:", err.Error())
|
||||
os.Exit(1)
|
||||
|
Reference in New Issue
Block a user