Skip to content

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

server: limit upload parts to 16 (#6411)

Jeffrey Morgan9fddef373184
diff --git a/server/upload.go b/server/upload.go
index 2f115436e..020e89551 100644
--- a/server/upload.go
+++ b/server/upload.go
@@ -45,7 +45,7 @@ type blobUpload struct {
}
const (
- numUploadParts = 64
+ numUploadParts = 16
minUploadPartSize int64 = 100 * format.MegaByte
maxUploadPartSize int64 = 1000 * format.MegaByte
)