forked from Mirror/ollama4j
Extends OllamaChatResponseModel with error property
This commit is contained in:
parent
bc83df6971
commit
bc885894f8
@ -11,6 +11,7 @@ public class OllamaChatResponseModel {
|
|||||||
private @JsonProperty("created_at") String createdAt;
|
private @JsonProperty("created_at") String createdAt;
|
||||||
private OllamaChatMessage message;
|
private OllamaChatMessage message;
|
||||||
private boolean done;
|
private boolean done;
|
||||||
|
private String error;
|
||||||
private List<Integer> context;
|
private List<Integer> context;
|
||||||
private @JsonProperty("total_duration") Long totalDuration;
|
private @JsonProperty("total_duration") Long totalDuration;
|
||||||
private @JsonProperty("load_duration") Long loadDuration;
|
private @JsonProperty("load_duration") Long loadDuration;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user