Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
s/DisplayLongest/String/
Michael Yangf5e8b207fb87
diff --git a/server/model.go b/server/model.goindex b27c70839..09fa2651c 100644--- a/server/model.go+++ b/server/model.go@@ -23,15 +23,15 @@ type layerWithGGML struct {}func parseFromModel(ctx context.Context, name model.Name, fn func(api.ProgressResponse)) (layers []*layerWithGGML, err error) {- modelpath := ParseModelPath(name.DisplayLongest())+ modelpath := ParseModelPath(name.String())manifest, _, err := GetManifest(modelpath)switch {case errors.Is(err, os.ErrNotExist):- if err := PullModel(ctx, name.DisplayLongest(), ®istryOptions{}, fn); err != nil {+ if err := PullModel(ctx, name.String(), ®istryOptions{}, fn); err != nil {return nil, err}- modelpath = ParseModelPath(name.DisplayLongest())+ modelpath = ParseModelPath(name.String())manifest, _, err = GetManifest(modelpath)if err != nil {return nil, err