mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #7222] [WebSearch][GooglePSE] Bad request due invalid query-param #53331
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?
Originally created by @mluksenberg on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7222
Bug Report
When I try to use GooglePSE as web engine for searching, it is returning bad request due the param &num=30 is not allowed by Google. The fix is not add that query-param for that specific engine
Here is an example how it is building the URL: https://www.googleapis.com/customsearch/v1?cx={iD}&q=Test&key={MYQUEY}&num=30
And Here is the correct URL: https://www.googleapis.com/customsearch/v1?cx={iD}&q=Test&key={MYQUEY}