Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

filepath.Join

Michael Yanga385382ff5e1
diff --git a/server/manifest.go b/server/manifest.go
index 131d4918d..41a96c552 100644
--- a/server/manifest.go
+++ b/server/manifest.go
@@ -118,7 +118,7 @@ func Manifests() (map[model.Name]*Manifest, error) {
}
// TODO(mxyng): use something less brittle
- matches, err := filepath.Glob(fmt.Sprintf("%s/*/*/*/*", manifests))
+ matches, err := filepath.Glob(filepath.Join(manifests, "*", "*", "*", "*"))
if err != nil {
return nil, err
}