Merge pull request #6 from mgmacleod/missing-system-property

Added a `system` property to prevent `Unrecognized field "system"` when calling `OllamaApi.getModelDetails`
This commit is contained in:
Amith Koujalgi
2023-11-14 23:22:03 +05:30
committed by GitHub

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;