Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -685,12 +685,10 @@ public record ListModelResponse(
@JsonInclude(Include.NON_NULL)
public record ShowModelRequest(
@JsonProperty("model") String model,
@JsonProperty("system") String system,
@JsonProperty("verbose") Boolean verbose,
@JsonProperty("options") Map<String, Object> options
@JsonProperty("verbose") Boolean verbose
) {
public ShowModelRequest(String model) {
this(model, null, null, null);
this(model, null);
}
}

Expand Down Expand Up @@ -725,8 +723,7 @@ public record DeleteModelRequest(
public record PullModelRequest(
@JsonProperty("model") String model,
@JsonProperty("insecure") boolean insecure,
@JsonProperty("username") String username,
@JsonProperty("password") String password,

@JsonProperty("stream") boolean stream
) {
public PullModelRequest {
Expand All @@ -737,7 +734,7 @@ public record PullModelRequest(
}

public PullModelRequest(String model) {
this(model, false, null, null, true);
this(model, false, true);
}
}

Expand Down