🔧(backend) make frontend ai bot configurable

We make the AI bot configurable with settings.
We will be able to have different AI bot name
per instance.
This commit is contained in:
Anthony LC
2025-06-05 16:47:23 +02:00
parent 1ee313efb1
commit 9d6fe5da8f
6 changed files with 24 additions and 7 deletions

View File

@@ -9,6 +9,10 @@ export type BrowserName = 'chromium' | 'firefox' | 'webkit';
export const BROWSERS: BrowserName[] = ['chromium', 'webkit', 'firefox'];
export const CONFIG = {
AI_BOT: {
name: 'Docs AI',
color: '#8bc6ff',
},
AI_FEATURE_ENABLED: true,
API_USERS_SEARCH_QUERY_MIN_LENGTH: 3,
CRISP_WEBSITE_ID: null,