Skip to content

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

convert: return name of unsupported architecture (#9862)

Bruce MacDonald61a882521657
diff --git a/convert/convert.go b/convert/convert.go
index 7b9fe31ff..a31b0d6c7 100644
--- a/convert/convert.go
+++ b/convert/convert.go
@@ -201,7 +201,7 @@ func ConvertModel(fsys fs.FS, ws io.WriteSeeker) error {
case "CohereForCausalLM":
conv = &commandrModel{}
default:
- return errors.New("unsupported architecture")
+ return fmt.Errorf("unsupported architecture %q", p.Architectures[0])
}
if err := json.Unmarshal(bts, conv); err != nil {