mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
The Tools menu of a chat listed a ninth built-in group, "changes", by its raw ID with no text, and only some rows said what a switch did. The registry now carries a title, a description of what the model can do when the group is on, and what happens when it is off, for every group. Groups that nobody described fall back to the label and description of their first tool, so a new tool group needs no change in the interface. An add-on row can show the title and description its manifest declares: the broker may implement the optional AddonLister, and the lists carry both fields next to the ID. A saved agent gets builtins_off and builtins_on. builtins_off is a ceiling: a chat of the agent shows the group off with a reason and cannot switch it on, and a sub-agent follows it. builtins_on lists the opt-in groups the agent's chats start with. Both are additive columns, a write that does not name them keeps the stored ones, and groups the server does not offer are dropped so an imported file still loads. An agent with switches exports as version 3, so an older server refuses the file instead of giving the agent every tool; a single-folder agent without switches still exports as version 2. Assisted-by: Claude:claude-sonnet-5-5 go gofmt swag