Fix incorrect logger class initialization
Signed-off-by: jitokim <pigberger70@gmail.com>
This commit is contained in:
committed by
Ilayaperumal Gopinathan
parent
8b4df9075f
commit
166e3d5f37
@@ -56,7 +56,7 @@ public class AnthropicApiToolIT {
|
||||
|
||||
public static final ConcurrentHashMap<String, Function> 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"));
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
@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";
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@ import org.springframework.ai.openai.OpenAiChatOptions;
|
||||
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 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
@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";
|
||||
|
||||
|
||||
@@ -55,7 +55,6 @@ import org.springframework.ai.openai.OpenAiChatOptions;
|
||||
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 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
@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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user