diff --git a/models/spring-ai-anthropic/src/test/java/org/springframework/ai/anthropic/api/tool/AnthropicApiToolIT.java b/models/spring-ai-anthropic/src/test/java/org/springframework/ai/anthropic/api/tool/AnthropicApiToolIT.java index 767d73d0d6..079a01b3ca 100644 --- a/models/spring-ai-anthropic/src/test/java/org/springframework/ai/anthropic/api/tool/AnthropicApiToolIT.java +++ b/models/spring-ai-anthropic/src/test/java/org/springframework/ai/anthropic/api/tool/AnthropicApiToolIT.java @@ -56,7 +56,7 @@ public class AnthropicApiToolIT { public static final ConcurrentHashMap FUNCTIONS = new ConcurrentHashMap<>(); - private static final Logger logger = LoggerFactory.getLogger(AnthropicApiLegacyToolIT.class); + private static final Logger logger = LoggerFactory.getLogger(AnthropicApiToolIT.class); AnthropicApi anthropicApi = new AnthropicApi(System.getenv("ANTHROPIC_API_KEY")); diff --git a/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/OpenAiChatModelProxyToolCallsIT.java b/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/OpenAiChatModelProxyToolCallsIT.java index dc43e4e7f7..b6e182559c 100644 --- a/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/OpenAiChatModelProxyToolCallsIT.java +++ b/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/OpenAiChatModelProxyToolCallsIT.java @@ -60,7 +60,7 @@ @EnabledIfEnvironmentVariable(named = "OPENAI_API_KEY", matches = ".+") class OpenAiChatModelProxyToolCallsIT { - private static final Logger logger = LoggerFactory.getLogger(OpenAiChatModelIT.class); + private static final Logger logger = LoggerFactory.getLogger(OpenAiChatModelProxyToolCallsIT.class); private static final String DEFAULT_MODEL = "gpt-4o-mini"; diff --git a/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/proxy/GroqWithOpenAiChatModelIT.java b/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/proxy/GroqWithOpenAiChatModelIT.java index 578827fb02..a3d45486b2 100644 --- a/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/proxy/GroqWithOpenAiChatModelIT.java +++ b/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/proxy/GroqWithOpenAiChatModelIT.java @@ -52,7 +52,6 @@ import org.springframework.ai.openai.api.OpenAiApi; import org.springframework.ai.openai.api.tool.MockWeatherService; import org.springframework.ai.openai.chat.ActorsFilms; -import org.springframework.ai.openai.chat.OpenAiChatModelIT; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringBootConfiguration; @@ -70,7 +69,7 @@ @Disabled("Due to rate limiting it is hard to run it in one go") class GroqWithOpenAiChatModelIT { - private static final Logger logger = LoggerFactory.getLogger(OpenAiChatModelIT.class); + private static final Logger logger = LoggerFactory.getLogger(GroqWithOpenAiChatModelIT.class); private static final String GROQ_BASE_URL = "https://api.groq.com/openai"; diff --git a/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/proxy/OllamaWithOpenAiChatModelIT.java b/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/proxy/OllamaWithOpenAiChatModelIT.java index ef7aa97a11..81df8ac03e 100644 --- a/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/proxy/OllamaWithOpenAiChatModelIT.java +++ b/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/proxy/OllamaWithOpenAiChatModelIT.java @@ -55,7 +55,6 @@ import org.springframework.ai.openai.api.OpenAiApi; import org.springframework.ai.openai.api.tool.MockWeatherService; import org.springframework.ai.openai.chat.ActorsFilms; -import org.springframework.ai.openai.chat.OpenAiChatModelIT; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringBootConfiguration; @@ -73,7 +72,7 @@ @SpringBootTest(classes = OllamaWithOpenAiChatModelIT.Config.class) class OllamaWithOpenAiChatModelIT { - private static final Logger logger = LoggerFactory.getLogger(OpenAiChatModelIT.class); + private static final Logger logger = LoggerFactory.getLogger(OllamaWithOpenAiChatModelIT.class); private static final String DEFAULT_OLLAMA_MODEL = "mistral";