Can't enable AI
What happened?
Updated to the lates from 2.9. Didn't use AI before. Decided to enable it now. But can't do it
Steps to reproduce
- Open AI Settings
- Try to add a provider
- Also try to enable AI and Save
- After returning to the settings page it is disabled again
When I toggle switch every time this error is thrown in the Network
And Save button is not activated in any of switch states
What did you expect?
I expect to see UI to set up providers
Termix version
26.11.1
Platform
Web browser
Server install
Docker
Environment
Not a clean installation. Updated from 2.9.x. Restarted the services several times. Also tried to delete the AI plugin and install it again.
By the way when plugin is not installed its video works. AS soon it is installed the video can't play from YouTube anymore
Logs
Anything else?
I can see HTTPP errors in browser
and also CSP errors
Before you submit
- [x] I searched open and closed issues and this is not a duplicate
- [x] I am on the latest version, or I said which version I am on
The AI assistant has two switches. The one in your screenshot, Enable the AI assistant, is your own opt-in. There is also a server-wide switch that an admin has to turn on first. While it is off, the assistant is blocked for everyone, which is why the page says "The AI assistant is turned off on this server" and /plugin-api/ai/usage returns 403. It is off by default, so an upgrade from 2.9 doesn't turn AI on by itself.
As an admin, open Settings, go to the admin settings of AI Assistant (searching the settings page for "AI assistant" finds it), and turn on AI assistant ("Let users turn on the AI assistant"). After that, your own switch and the providers section work.
The Host Metrics 500s and the font CSP errors in your other screenshots aren't related to this.
Auto-triage
User cannot enable the AI Assistant plugin because the server-wide admin setting is disabled by default. The maintainer has explained that an admin must first enable the feature in global settings before individual users can configure providers.
| Field | Value |
|---|---|
| Type | Question |
| Difficulty | 1/5 (Trivial) |
| Priority | Low |
A maintainer will take a look. If anything above looks wrong, just say so.
I had just to scroll down on the same page and there is this setting