From 74facc7b94a8157831ebf442d600c44514ecf027 Mon Sep 17 00:00:00 2001 From: Basem Nayfeh Date: Wed, 6 Nov 2024 23:39:06 -0800 Subject: [PATCH] Removed some debugging code --- .../web/search/searxng/SearXNGWebSearchEngineIT.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/web-search-engines/langchain4j-community-web-search-engine-searxng/src/test/java/dev/langchain4j/community/web/search/searxng/SearXNGWebSearchEngineIT.java b/web-search-engines/langchain4j-community-web-search-engine-searxng/src/test/java/dev/langchain4j/community/web/search/searxng/SearXNGWebSearchEngineIT.java index 213eb79..2806e3a 100644 --- a/web-search-engines/langchain4j-community-web-search-engine-searxng/src/test/java/dev/langchain4j/community/web/search/searxng/SearXNGWebSearchEngineIT.java +++ b/web-search-engines/langchain4j-community-web-search-engine-searxng/src/test/java/dev/langchain4j/community/web/search/searxng/SearXNGWebSearchEngineIT.java @@ -58,10 +58,6 @@ private static String engine(WebSearchOrganicResult webSearchOrganicResult) { return metadataForComparison(webSearchOrganicResult, "engine"); } - private static String engines(WebSearchRequest webSearchRequest) { - return (String) webSearchRequest.additionalParams().get("engines"); - } - @Test void should_search_with_start_page() { // given @@ -148,14 +144,6 @@ void should_search_with_additional_params() { WebSearchResults webSearchResults2 = searchEngine().search(request2); WebSearchResults webSearchResults3 = searchEngine().search(request3); - System.out.println(engines(request1)); - System.out.println(engines(request2)); - System.out.println(engines(request3)); - - System.out.println(engine(webSearchResults1.results().get(0))); - System.out.println(engine(webSearchResults2.results().get(0))); - System.out.println(engine(webSearchResults3.results().get(0))); - // then assertNotEquals(engine(webSearchResults1.results().get(0)), engine(webSearchResults2.results().get(0))); assertNotEquals(engine(webSearchResults1.results().get(0)), engine(webSearchResults3.results().get(0)));