Skip to content

Commit 2781d41

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 2c3ed53 commit 2781d41

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/amazonbedrock/client/AmazonBedrockUnifiedStreamingChatProcessor.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,7 @@ public void onNext(ConverseStreamOutput item) {
124124
}
125125
case ConverseStreamOutput.EventType.CONTENT_BLOCK_STOP -> {
126126
demand.set(0); // reset demand before we fork to another thread
127-
item.accept(
128-
ConverseStreamResponseHandler.Visitor.builder()
129-
.onContentBlockStop(event -> Stream.empty())
130-
.build()
131-
);
127+
item.accept(ConverseStreamResponseHandler.Visitor.builder().onContentBlockStop(event -> Stream.empty()).build());
132128
return;
133129
}
134130
default -> {

0 commit comments

Comments
 (0)