Skip to content

Commit 5b90efb

Browse files
committed
Fix checkstyle errors in inference plugin
1 parent e494a39 commit 5b90efb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceServiceTests.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,9 +680,11 @@ public void testUnifiedCompletionInfer_PropagatesProductUseCaseHeader() throws I
680680
// Mock a successful streaming response
681681
String responseJson =
682682
"""
683-
data: {"id":"1","object":"completion","created":1677858242,"model":"my-model-id","choices":[{"finish_reason":null,"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
683+
data: {"id":"1","object":"completion","created":1677858242,"model":"my-model-id",
684+
"choices":[{"finish_reason":null,"index":0,"delta":{"role":"assistant","content":"Hello"}}]}
684685
685-
data: {"id":"2","object":"completion","created":1677858242,"model":"my-model-id","choices":[{"finish_reason":"stop","index":0,"delta":{"content":" world!"}}]}
686+
data: {"id":"2","object":"completion","created":1677858242,"model":"my-model-id",
687+
"choices":[{"finish_reason":"stop","index":0,"delta":{"content":" world!"}}]}
686688
687689
data: [DONE]
688690

0 commit comments

Comments
 (0)