mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 12:33:16 -05:00
A new chat with the sandbox switched off in the composer showed no "switched off" notice. GET /api/chats/draft/addons took only the model and the agent, so it always reported the default commands state. Accept the draft's switches as comma-separated query parameters (addons_off, builtins_off, builtins_on), check them as the create request does, and apply them to the draft record before the commands state is worked out. The composer sends its choices each time an add-on or a built-in group is switched, so the notice follows the switch. Assisted-by: Claude:claude-sonnet-5-5 go-test playwright