diff --git a/core/runtime/src/main/java/io/quarkiverse/langchain4j/runtime/tool/QuarkusToolExecutor.java b/core/runtime/src/main/java/io/quarkiverse/langchain4j/runtime/tool/QuarkusToolExecutor.java index 48c0590ef..4ffdcabde 100644 --- a/core/runtime/src/main/java/io/quarkiverse/langchain4j/runtime/tool/QuarkusToolExecutor.java +++ b/core/runtime/src/main/java/io/quarkiverse/langchain4j/runtime/tool/QuarkusToolExecutor.java @@ -18,7 +18,6 @@ import io.quarkiverse.langchain4j.runtime.prompt.Mappable; import io.quarkus.virtual.threads.VirtualThreadsRecorder; import io.smallrye.mutiny.Uni; -import io.vertx.core.Context; public class QuarkusToolExecutor implements ToolExecutor { diff --git a/model-providers/vertex-ai-gemini/runtime/src/test/java/io/quarkiverse/langchain4j/vertexai/runtime/gemini/VertxAiGeminiRestApiTokenFilterTest.java b/model-providers/vertex-ai-gemini/runtime/src/test/java/io/quarkiverse/langchain4j/vertexai/runtime/gemini/VertxAiGeminiRestApiTokenFilterTest.java index 25e1b210f..daf83287d 100644 --- a/model-providers/vertex-ai-gemini/runtime/src/test/java/io/quarkiverse/langchain4j/vertexai/runtime/gemini/VertxAiGeminiRestApiTokenFilterTest.java +++ b/model-providers/vertex-ai-gemini/runtime/src/test/java/io/quarkiverse/langchain4j/vertexai/runtime/gemini/VertxAiGeminiRestApiTokenFilterTest.java @@ -1,7 +1,6 @@ package io.quarkiverse.langchain4j.vertexai.runtime.gemini; import static org.junit.jupiter.api.Assertions.*; -import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; import jakarta.enterprise.context.ApplicationScoped; diff --git a/rag/easy-rag/deployment/src/test/java/io/quarkiverse/langchain4j/test/EasyRagTest.java b/rag/easy-rag/deployment/src/test/java/io/quarkiverse/langchain4j/test/EasyRagTest.java index 12bb4a8fa..2e1db7355 100644 --- a/rag/easy-rag/deployment/src/test/java/io/quarkiverse/langchain4j/test/EasyRagTest.java +++ b/rag/easy-rag/deployment/src/test/java/io/quarkiverse/langchain4j/test/EasyRagTest.java @@ -1,7 +1,8 @@ package io.quarkiverse.langchain4j.test; import static org.assertj.core.api.Assertions.assertThat; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertInstanceOf; +import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.List; diff --git a/tools/tavily/deployment/src/test/java/io/quarkiverse/langchain4j/tavily/test/TavilyTest.java b/tools/tavily/deployment/src/test/java/io/quarkiverse/langchain4j/tavily/test/TavilyTest.java index 82fc92ea0..a083ed054 100644 --- a/tools/tavily/deployment/src/test/java/io/quarkiverse/langchain4j/tavily/test/TavilyTest.java +++ b/tools/tavily/deployment/src/test/java/io/quarkiverse/langchain4j/tavily/test/TavilyTest.java @@ -1,7 +1,8 @@ package io.quarkiverse.langchain4j.tavily.test; -import static com.github.tomakehurst.wiremock.client.WireMock.*; import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; +import static com.github.tomakehurst.wiremock.client.WireMock.post; +import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals;