mirror of
				https://github.com/amithkoujalgi/ollama4j.git
				synced 2025-11-04 10:30:41 +01:00 
			
		
		
		
	Added a system property to prevent Unrecognized field "system" when calling OllamaApi.getModelDetails
				
					
				
			This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user