Skip to content

Commit cafb350

Browse files
committed
formatting fixed
1 parent 5528a85 commit cafb350

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
import java.util.function.Consumer;
2525
import java.util.function.Predicate;
2626

27+
import com.fasterxml.jackson.annotation.JsonInclude;
28+
import com.fasterxml.jackson.annotation.JsonInclude.Include;
29+
import com.fasterxml.jackson.annotation.JsonSubTypes;
30+
import com.fasterxml.jackson.annotation.JsonTypeInfo;
2731
import org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest.CacheControl;
2832
import org.springframework.ai.anthropic.api.StreamHelper.ChatCompletionResponseBuilder;
2933
import org.springframework.ai.model.ChatModelDescription;
@@ -43,6 +47,7 @@
4347
import com.fasterxml.jackson.annotation.JsonProperty;
4448

4549
import reactor.core.publisher.Flux;
50+
import reactor.core.publisher.Mono;
4651

4752
/**
4853
* The Anthropic API client.
@@ -687,7 +692,7 @@ public ContentBlock(String mediaType, String data) {
687692
* @param source The source of the content.
688693
*/
689694
public ContentBlock(Type type, Source source) {
690-
this(type, source, null, null, null, null, null, null, null);
695+
this(type, source, null, null, null, null, null, null, null, null);
691696
}
692697

693698
/**

spring-ai-core/src/main/java/org/springframework/ai/chat/messages/AbstractMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected AbstractMessage(MessageType messageType, Resource resource, Map<String
120120
this.metadata.put(MESSAGE_TYPE, messageType);
121121
this.cache = cache;
122122
}
123-
123+
124124
/**
125125
* Get the content of the message.
126126
* @return the content of the message

0 commit comments

Comments
 (0)