agent-zero/python
Vanja Emichi e8abe7101f fix: use .get() to avoid KeyError in skills_tool _load()
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.
2026-03-04 22:46:24 +00:00
..
api fix plugins deletion logic 2026-03-04 15:58:45 +01:00
extensions Unify exception handling via extensible handle_exception 2026-03-03 10:06:22 +01:00
helpers fix plugins deletion logic 2026-03-04 15:58:45 +01:00
tools fix: use .get() to avoid KeyError in skills_tool _load() 2026-03-04 22:46:24 +00:00
websocket_handlers better logging in websockets 2026-02-10 10:12:03 +01:00