Files
AstrBot/astrbot
LIghtJUNction d60a3f0d1d fix: add missing add_tool and merge methods to base ToolSet
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'
2026-03-24 18:28:19 +08:00
..
2026-03-23 22:21:06 +08:00
2026-03-24 10:14:28 +08:00
2026-02-27 22:03:17 +08:00
2026-03-22 22:44:05 +08:00