Skip to content

Commit 34ca847

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 60df2f7 commit 34ca847

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

server/src/main/java/org/elasticsearch/inference/UnifiedCompletionRequest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.elasticsearch.xcontent.XContentParser;
2828

2929
import java.io.IOException;
30-
import java.lang.Boolean;
3130
import java.util.List;
3231
import java.util.Map;
3332

@@ -105,9 +104,11 @@ public static Params withMaxTokens(String modelId, Params params) {
105104
*/
106105
public static Params withMaxTokensAndSkipStreamOptionsField(String modelId, Params params) {
107106
return new DelegatingMapParams(
108-
Map.ofEntries(Map.entry(MODEL_ID_PARAM, modelId),
107+
Map.ofEntries(
108+
Map.entry(MODEL_ID_PARAM, modelId),
109109
Map.entry(MAX_TOKENS_PARAM, MAX_TOKENS_FIELD),
110-
Map.entry(SKIP_STREAM_OPTIONS_PARAM, Boolean.TRUE.toString())),
110+
Map.entry(SKIP_STREAM_OPTIONS_PARAM, Boolean.TRUE.toString())
111+
),
111112
params
112113
);
113114
}

0 commit comments

Comments
 (0)