"experimental/vscode:/vscode.git/clone" did not exist on "2350968ee61a6f9ca6ecd24aba9db536e814a24c"
Commit 29a8975c authored by Bruce MacDonald's avatar Bruce MacDonald
Browse files

api: remove unused create fields

These fields are deprecated, but specifying them will not do anything. Removing them as the other deprecated fields will still work, but these do not, so they dont match our existing pattern.
parent 86a622cb
......@@ -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"`
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment