Skip to content

Commit 11470f5

Browse files
authored
Fix formatting issues in StreamHelper.java
1 parent 1c4d6cf commit 11470f5

File tree

1 file changed

+2
-2
lines changed
  • models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/api

1 file changed

+2
-2
lines changed

models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/api/StreamHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
public class StreamHelper {
5555

5656
public boolean isToolUseStart(StreamEvent event) {
57-
if (isInvalidEvent(event, EventType.CONTENT_BLOCK_START)) {
58-
return false;
57+
if (isInvalidEvent(event, EventType.CONTENT_BLOCK_START)) {
58+
return false;
5959
}
6060
ContentBlockStartEvent contentBlockStartEvent = (ContentBlockStartEvent) event;
6161
return ContentBlock.Type.TOOL_USE.getValue().equals(contentBlockStartEvent.contentBlock().type());

0 commit comments

Comments
 (0)