Grapette.L 2da53ded13
fix(community): fall back to the default SearXNG max_results on an unparseable value (#5821)
* fix(community): fall back to the default SearXNG max_results on an unparseable value

A blank `max_results:` in config.yaml loads as None, and int(None) then fails inside web_search_tool's try block, so every SearXNG search returns an error payload instead of results. Coerce like the sibling providers do: warn and keep the documented default.

* test(community): cover SearXNG max_results that cannot be parsed
2026-09-24 17:51:31 +08:00
..