Files
open-webui/backend/open_webui/retrieval/web
Classic298 e623081b2b fix: handle list-shape data in Firecrawl /search response (#24712)
Firecrawl /search returns either `{"data": [...]}` (flat list — v1, and
what frost19k reported on #23966) or `{"data": {"web": [...]}}` (v2,
current production). The parser only handled the dict shape:

    data = response.get('data') or {}
    results = data.get('web') or []

On a list-shape response, `data.get('web')` raised AttributeError,
caught by the function's outer try/except, and `search_firecrawl`
silently returned []. Web search worked against v2 endpoints but is one
upstream-format-change away from failing closed again. Accept either.
2026-06-01 12:07:31 -07:00
..
2026-05-21 16:44:36 +04:00
2026-03-17 17:58:01 -05:00
2026-05-21 16:44:36 +04:00
2026-03-17 17:58:01 -05:00
2026-05-19 21:54:38 +04:00
2026-03-17 17:58:01 -05:00
2026-03-17 17:58:01 -05:00
2026-05-21 16:44:36 +04:00
2026-03-17 17:58:01 -05:00
2026-05-21 16:44:36 +04:00
2026-05-21 16:44:36 +04:00