mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 11:57:12 +02:00
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:
commit
5c17bf7bb4
@ -7,6 +7,15 @@ public class ModelDetail {
|
||||
@JsonProperty("modelfile")
|
||||
private String modelFile;
|
||||
private String parameters, template;
|
||||
private String system;
|
||||
|
||||
public String getSystem() {
|
||||
return system;
|
||||
}
|
||||
|
||||
public void setSystem(String system) {
|
||||
this.system = system;
|
||||
}
|
||||
|
||||
public String getLicense() {
|
||||
return license;
|
||||
|
Loading…
x
Reference in New Issue
Block a user