mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-02 02:12:25 +00:00
Web search via searchapi.io could come back empty or near-empty with no hint of why: an invalid or expired API key turned into an empty result set instead of an error, the google_news engine splits its results between organic_results and top_stories and only the first block was read, and google links came back as google.com/goto redirects the web loader cannot fetch, so citations pointed at a redirect blob. The search now reads both result blocks, asks google engines for resolved destination links, raises on HTTP errors, carries a 30s request timeout, skips result rows without a link, and logs the response body at debug instead of dumping every search at info. Fixes #30305 |
||
|---|---|---|
| .. | ||
| data | ||
| internal | ||
| migrations | ||
| models | ||
| retrieval | ||
| routers | ||
| socket | ||
| static | ||
| storage | ||
| tools | ||
| utils | ||
| __init__.py | ||
| alembic.ini | ||
| config.py | ||
| constants.py | ||
| env.py | ||
| events.py | ||
| functions.py | ||
| main.py | ||
| tasks.py | ||