Added a system property to prevent Unrecognized field "system" when calling OllamaApi.getModelDetails

This commit is contained in:
Matthew MacLeod 2023-11-14 10:25:04 -05:00
parent 3a43d3e95c
commit 04e942f1f9

View File

@ -7,6 +7,15 @@ public class ModelDetail {
@JsonProperty("modelfile") @JsonProperty("modelfile")
private String modelFile; private String modelFile;
private String parameters, template; private String parameters, template;
private String system;
public String getSystem() {
return system;
}
public void setSystem(String system) {
this.system = system;
}
public String getLicense() { public String getLicense() {
return license; return license;