mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
The internal ToolSet (base.py) was missing add_tool() and merge() methods that the agent code expects. When tmgr.get_full_tool_set() returned a base.py ToolSet, calls to add_tool() and merge() failed. Added: - add_tool() as alias to add() - merge() method to merge another ToolSet This fixes runtime crash: AttributeError: 'ToolSet' object has no attribute 'add_tool'