Skip to content

Commit

Permalink
chore: remove remaining references
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Dec 20, 2024
1 parent e99e9c9 commit b91e31a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { HighlightContext } from './HighlightContext';

const defaultState = {
eventTimeline: false,
unleashAI: false,
};

export type HighlightKey = keyof typeof defaultState;
Expand Down
5 changes: 0 additions & 5 deletions src/lib/openapi/spec/ui-config-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down
1 change: 0 additions & 1 deletion src/lib/routes/admin-api/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ class ConfigController extends Controller {
disablePasswordAuth,
maintenanceMode,
feedbackUriPath: this.config.feedbackUriPath,
unleashAIAvailable: this.config.openAIAPIKey !== undefined,
maxSessionsCount,
};

Expand Down

0 comments on commit b91e31a

Please sign in to comment.