We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c4d6cf commit 11470f5Copy full SHA for 11470f5
models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/api/StreamHelper.java
@@ -54,8 +54,8 @@
54
public class StreamHelper {
55
56
public boolean isToolUseStart(StreamEvent event) {
57
- if (isInvalidEvent(event, EventType.CONTENT_BLOCK_START)) {
58
- return false;
+ if (isInvalidEvent(event, EventType.CONTENT_BLOCK_START)) {
+ return false;
59
}
60
ContentBlockStartEvent contentBlockStartEvent = (ContentBlockStartEvent) event;
61
return ContentBlock.Type.TOOL_USE.getValue().equals(contentBlockStartEvent.contentBlock().type());
0 commit comments