Termix icon indicating copy to clipboard operation
Termix copied to clipboard

Can't enable AI

Open constgen opened this issue 3 weeks ago • 3 comments

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

  1. Open AI Settings
  2. Try to add a provider
  3. Also try to enable AI and Save
  4. 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

constgen avatar Nov 12 '26 21:11 constgen

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.

ZacharyZcR avatar Nov 14 '26 15:11 ZacharyZcR

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.

termix-triage-bot[bot] avatar Nov 14 '26 15:11 termix-triage-bot[bot]

I had just to scroll down on the same page and there is this setting

изображение

constgen avatar Nov 14 '26 17:11 constgen