Skip to content

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

api: remove unused create fields

Bruce MacDonald29a8975c6686
diff --git a/api/types.go b/api/types.go
index 5100ed2b4..0d7c47357 100644
--- a/api/types.go
+++ b/api/types.go
@@ -308,15 +308,8 @@ type CreateRequest struct {
Parameters map[string]any `json:"parameters,omitempty"`
Messages []Message `json:"messages,omitempty"`
- // Deprecated: set with the other request options
- Modelfile string `json:"modelfile"`
-
// Deprecated: set the model name with Model instead
Name string `json:"name"`
-
- // Deprecated: set the file content with Modelfile instead
- Path string `json:"path"`
-
// Deprecated: use Quantize instead
Quantization string `json:"quantization,omitempty"`
}