mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #17449] [CLOSED] feat: Add Configurable Rate Limit for Web Search #40064
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/17449
Author: @cvaz1306
Created: 9/15/2025
Status: ❌ Closed
Base:
dev← Head:feat/rate-limit-web-search📝 Commits (6)
ba25c26adding configurable rate limit for web search15cb2e2adding configurable rate limit for web search76e7012Merge branch 'feat/rate-limit-web-search' of https://github.com/cvaz1306/open-webui into feat/rate-limit-web-search2a9f13aremoving redundant asyncio.ensure_future() in retrieval.py551bc64Merge branch 'dev' into feat/rate-limit-web-searchd85ab78Merge branch 'dev' into feat/rate-limit-web-search📊 Changes
2 files changed (+87 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+23 -0)📝
backend/open_webui/routers/retrieval.py(+64 -1)📄 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
Added
Nrequests perTseconds) on web searches to avoid 429 Too Many Requests errors.WEB_SEARCH_RATE_LIMIT_ENABLED: Enables Web Search Rate limitingWEB_SEARCH_RATE_LIMIT_MAX_REQUESTS: SetsNrequestsWEB_SEARCH_RATE_LIMIT_MIN_SECONDS: SetsTSeconds (minimum time to completeNrequestsAdditional Information
429 Too Many Requesterrors in the web search feature.Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), 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.