From 4b088a4a9bdcc5a3f05cbe88b9ab1bfd28575f1e Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sat, 10 Oct 2026 17:54:25 +0200 Subject: [PATCH] fix: Perplexity Search ignores the domain filter list (#32182) With Perplexity Search as the web search engine, the Domain Filter List had no effect: blocked domains still showed up in the results the model got, and an allowlist let every result through. The filter now applies to Perplexity Search results as it does for the other search engines. Fixes #32005 --- backend/open_webui/retrieval/web/perplexity_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/retrieval/web/perplexity_search.py b/backend/open_webui/retrieval/web/perplexity_search.py index ad38565621..54e159f77f 100644 --- a/backend/open_webui/retrieval/web/perplexity_search.py +++ b/backend/open_webui/retrieval/web/perplexity_search.py @@ -57,7 +57,7 @@ def search_perplexity_search( json_response = response.json() # Extract citations from the response - results = json_response.get('results', []) + results = get_filtered_results(json_response.get('results', []), filter_list) return [ SearchResult(link=result['url'], title=result['title'], snippet=result['snippet']) for result in results