Browse Source

Update model/model.go

Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>
Michael Yang 1 month ago
parent
commit
3e102b7dad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      model/model.go

+ 1 - 1
model/model.go

@@ -22,7 +22,7 @@ import (
 	"github.com/ollama/ollama/model/input"
 	"github.com/ollama/ollama/model/input"
 )
 )
 
 
-var ErrNoVisionModel = errors.New("vision model not found")
+var ErrNoVisionModel = errors.New("this model is missing data required for image input")
 
 
 // Model implements a specific model architecture, defining the forward pass and any model-specific configuration
 // Model implements a specific model architecture, defining the forward pass and any model-specific configuration
 type Model interface {
 type Model interface {