Fix test
This commit is contained in:
parent
17fe98de99
commit
c532a6f835
|
|
@ -1,6 +1,7 @@
|
|||
package llamacpp
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"testing"
|
||||
|
|
@ -251,6 +252,10 @@ type fakeModel struct {
|
|||
config types.Config
|
||||
}
|
||||
|
||||
func (f *fakeModel) MMPROJPath() (string, error) {
|
||||
return "", errors.New("not found")
|
||||
}
|
||||
|
||||
func (f *fakeModel) ID() (string, error) {
|
||||
panic("shouldn't be called")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue