refactor: remove redundant samples() method
samples() duplicates N(), both setting the same field. Keeping only N() simplifies the builder API and aligns with ImageOptions. Signed-off-by: Jhzlo <kjh0010703@naver.com>
This commit is contained in:
@@ -485,11 +485,6 @@ public class StabilityAiImageOptions implements ImageOptions {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder samples(Integer samples) {
|
||||
this.options.setN(samples);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder stylePreset(String stylePreset) {
|
||||
this.options.setStylePreset(stylePreset);
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user