diff --git a/frontend/src/component/common/Highlight/HighlightProvider.tsx b/frontend/src/component/common/Highlight/HighlightProvider.tsx index e18bbd2458af..e41826c6ee28 100644 --- a/frontend/src/component/common/Highlight/HighlightProvider.tsx +++ b/frontend/src/component/common/Highlight/HighlightProvider.tsx @@ -3,7 +3,6 @@ import { HighlightContext } from './HighlightContext'; const defaultState = { eventTimeline: false, - unleashAI: false, }; export type HighlightKey = keyof typeof defaultState; diff --git a/src/lib/openapi/spec/ui-config-schema.ts b/src/lib/openapi/spec/ui-config-schema.ts index c9a8af77195b..705b7acabb0b 100644 --- a/src/lib/openapi/spec/ui-config-schema.ts +++ b/src/lib/openapi/spec/ui-config-schema.ts @@ -186,11 +186,6 @@ export const uiConfigSchema = { 'Whether the SAML configuration is set through environment variables or not.', example: false, }, - unleashAIAvailable: { - type: 'boolean', - description: 'Whether Unleash AI is available.', - example: false, - }, maxSessionsCount: { type: 'number', description: 'The maximum number of sessions that a user has.', diff --git a/src/lib/routes/admin-api/config.ts b/src/lib/routes/admin-api/config.ts index 36c28be817ca..ec19b96e86ce 100644 --- a/src/lib/routes/admin-api/config.ts +++ b/src/lib/routes/admin-api/config.ts @@ -171,7 +171,6 @@ class ConfigController extends Controller { disablePasswordAuth, maintenanceMode, feedbackUriPath: this.config.feedbackUriPath, - unleashAIAvailable: this.config.openAIAPIKey !== undefined, maxSessionsCount, };