mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #13107] [MERGED] fix: max_results in Tavily search handler
#23103
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/13107
Author: @tth37
Created: 4/21/2025
Status: ✅ Merged
Merged: 4/23/2025
Merged by: @tjbck
Base:
dev← Head:fix_tavily_max_results📝 Commits (1)
bc315bdfix:max_resultsin Tavily search api📊 Changes
1 file changed (+12 additions, -5 deletions)
View changed files
📝
backend/open_webui/retrieval/web/tavily.py(+12 -5)📄 Description
Changelog Entry
Description
Related: #13075
Fixed some small bugs when calling Tavily search API.
api_keyin theAuthorizationheader, following the recommended practice.max_resultsParametermax_results(default: 5) parameter, facing issues whencountis greater than 5.countparameter asmax_resultsto get the correct number of search results.Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the CONTRIBUTOR_LICENSE_AGREEMENT, and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.