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.goindex 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 insteadName string `json:"name"`-- // Deprecated: set the file content with Modelfile instead- Path string `json:"path"`-// Deprecated: use Quantize insteadQuantization string `json:"quantization,omitempty"`}