diff --git a/models/spring-ai-anthropic/pom.xml b/models/spring-ai-anthropic/pom.xml index 7cb9a41d8..de2afe6d6 100644 --- a/models/spring-ai-anthropic/pom.xml +++ b/models/spring-ai-anthropic/pom.xml @@ -55,12 +55,6 @@ ${project.parent.version} - - - org.springframework.boot - spring-boot - - io.rest-assured json-path diff --git a/models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatOptions.java b/models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatOptions.java index 08ea7de8c..168e388bd 100644 --- a/models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatOptions.java +++ b/models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatOptions.java @@ -32,7 +32,6 @@ import org.springframework.ai.anthropic.api.AnthropicApi.ChatCompletionRequest; import org.springframework.ai.chat.prompt.ChatOptions; import org.springframework.ai.model.function.FunctionCallback; import org.springframework.ai.model.function.FunctionCallingOptions; -import org.springframework.boot.context.properties.NestedConfigurationProperty; import org.springframework.util.Assert; /** @@ -61,7 +60,6 @@ public class AnthropicChatOptions implements ChatOptions, FunctionCallingOptions * disabled by default. Use the enableFunctions to set the functions from the registry * to be used by the ChatModel chat completion requests. */ - @NestedConfigurationProperty @JsonIgnore private List functionCallbacks = new ArrayList<>(); @@ -76,7 +74,6 @@ public class AnthropicChatOptions implements ChatOptions, FunctionCallingOptions * functions is set in a prompt options, then the enabled functions are only active * for the duration of this prompt execution. */ - @NestedConfigurationProperty @JsonIgnore private Set functions = new HashSet<>(); diff --git a/models/spring-ai-watsonx-ai/pom.xml b/models/spring-ai-watsonx-ai/pom.xml index 3b8d281d0..c81cde7ea 100644 --- a/models/spring-ai-watsonx-ai/pom.xml +++ b/models/spring-ai-watsonx-ai/pom.xml @@ -38,12 +38,6 @@ - - - org.springframework.boot - spring-boot - - org.springframework.ai spring-ai-core