mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-25 04:24:30 -05:00
[PR #10007] [CLOSED] Fix: Enable Domain filter list in tavily.py #9248
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10007
Author: @liucoj
Created: 2/14/2025
Status: ❌ Closed
Base:
main← Head:patch-1📝 Commits (1)
bec5d3eEnable Domain filter list in tavily.py📊 Changes
1 file changed (+10 additions, -3 deletions)
View changed files
📝
backend/open_webui/retrieval/web/tavily.py(+10 -3)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
In version 0.5.1 an up, a new option parameter is available in Web Search module, Domain filter list. This basic implementation permits Web search through Tavily Api filtering results by domains. I rewrite search_tavily function adding filter_list and adding include_domain in response as documented on tavily API.
Added
Web search through Tavily Api, filtering results by domains
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.