Skip to content

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

update comment

Michael Yang5e20b170a783
diff --git a/fs/ggml/ggml.go b/fs/ggml/ggml.go
index 51cae50ab..4a1e185d2 100644
--- a/fs/ggml/ggml.go
+++ b/fs/ggml/ggml.go
@@ -374,8 +374,7 @@ func DetectContentType(b []byte) string {
// Decode decodes a GGML model from the given reader.
//
// It collects array values for arrays with a size less than or equal to
-// maxArraySize. If maxArraySize is 0, the default value of 1024 is used. If
-// the maxArraySize is negative, all arrays are collected.
+// maxArraySize. If the maxArraySize is negative, all arrays are collected.
func Decode(rs io.ReadSeeker, maxArraySize int) (*GGML, int64, error) {
rs = bufioutil.NewBufferedSeeker(rs, 32<<10)