diff --git a/src/public/app/services/app_service.js b/src/public/app/services/app_service.js index b1325c23c..12e00de0e 100644 --- a/src/public/app/services/app_service.js +++ b/src/public/app/services/app_service.js @@ -13,7 +13,7 @@ function initComponents() { } function addChatTab() { - if (!options.getOptionBool('llmEnabled')) { + if (!options.getOptionBool('aiEnabled')) { return; } diff --git a/src/public/app/widgets/llm/chat_widget.js b/src/public/app/widgets/llm/chat_widget.js index 48cea4376..4755d8681 100644 --- a/src/public/app/widgets/llm/chat_widget.js +++ b/src/public/app/widgets/llm/chat_widget.js @@ -61,7 +61,7 @@ export default class ChatWidget extends TabAwareWidget { } isEnabled() { - return options.getOptionBool('llmEnabled'); + return options.getOptionBool('aiEnabled'); } doRender() {