mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-06 16:21:54 +00:00
When skills_tool:load is called for the first time in a fresh agent session, the "loaded_skills" key does not yet exist in agent.data. Direct dict access (agent.data[key]) raises KeyError which is caught and returned as "Error in skills_tool: loaded_skills". Fix: replace with agent.data.get(key) which safely returns None, matching the pattern already used correctly in the companion extension _65_include_loaded_skills.py. |
||
|---|---|---|
| .. | ||
| 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 | ||