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.
|
||
|---|---|---|
| .. | ||
| a2a_chat.py | ||
| browser._py | ||
| browser_agent.py | ||
| browser_do._py | ||
| browser_open._py | ||
| call_subordinate.py | ||
| code_execution_tool.py | ||
| document_query.py | ||
| input.py | ||
| knowledge_tool._py | ||
| notify_user.py | ||
| response.py | ||
| scheduler.py | ||
| search_engine.py | ||
| skills_tool.py | ||
| unknown.py | ||
| vision_load.py | ||
| wait.py | ||