mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-04 22:50:54 +00:00
Guard against a None result or missing 'results' key by iterating over (result or {}).get('results', []) instead of result['results']. This prevents exceptions when the search backend returns no data and yields an empty output list while preserving existing behavior of limiting to SEARCH_ENGINE_RESULTS.
|
||
|---|---|---|
| .. | ||
| api | ||
| extensions | ||
| helpers | ||
| tools | ||
| websocket_handlers | ||