From 553546bf444c1e39928fa3515fcc6b720781955a Mon Sep 17 00:00:00 2001 From: LangChain4j Date: Thu, 21 Dec 2023 09:54:56 +0100 Subject: [PATCH] fixing build --- .../test/java/dev/langchain4j/openai/spring/AutoConfigIT.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/langchain4j-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/openai/spring/AutoConfigIT.java b/langchain4j-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/openai/spring/AutoConfigIT.java index e6f55e73..a7f876d2 100644 --- a/langchain4j-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/openai/spring/AutoConfigIT.java +++ b/langchain4j-open-ai-spring-boot-starter/src/test/java/dev/langchain4j/openai/spring/AutoConfigIT.java @@ -12,7 +12,6 @@ import dev.langchain4j.model.openai.*; import dev.langchain4j.model.output.Response; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable; import org.springframework.boot.autoconfigure.AutoConfigurations; import org.springframework.boot.test.context.runner.ApplicationContextRunner; @@ -21,7 +20,6 @@ import static java.util.concurrent.TimeUnit.SECONDS; import static org.assertj.core.api.Assertions.assertThat; -@EnabledIfEnvironmentVariable(named = "OPENAI_API_KEY", matches = "sk.*") class AutoConfigIT { private static final String API_KEY = System.getenv("OPENAI_API_KEY");