This repository was archived by the owner on Jul 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
app/controllers/discourse_ai/admin Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ def feature_config
4949 ai_summary_backfill_topic_max_age_days
5050 ai_summary_backfill_maximum_topics_per_hour
5151 ai_summary_backfill_minimum_word_count
52+ ai_pm_summarization_allowed_groups
5253 ] ,
5354 } ,
5455 {
@@ -71,6 +72,12 @@ def feature_config
7172 description_key : "discourse_ai.features.discord_search.description" ,
7273 persona_setting_name : "ai_discord_search_persona" ,
7374 enable_setting_name : "ai_discord_search_enabled" ,
75+ additional_settings : %w[
76+ ai_discord_app_id
77+ ai_discord_app_public_key
78+ ai_discord_search_mode
79+ ai_discord_allowed_guilds
80+ ] ,
7481 } ,
7582 ]
7683 end
Original file line number Diff line number Diff line change 182182 enable_setting_help : " Toggles '%{setting}' setting"
183183 persona : " Persona"
184184 persona_help : " To create/edit personas go to the <a href='%{config_url}'>persona configuration page</a>"
185+ advanced_settings : " Advanced settings"
185186 save : " Save"
186187 saved : " %{feature_name} feature saved"
187188
Original file line number Diff line number Diff line change @@ -351,15 +351,18 @@ discourse_ai:
351351 ai_discord_app_id :
352352 default : " "
353353 client : false
354+ hidden : true
354355 ai_discord_app_public_key :
355356 default : " "
356357 client : false
358+ hidden : true
357359 ai_discord_search_mode :
358360 default : " search"
359361 type : enum
360362 choices :
361363 - search
362364 - persona
365+ hidden : true
363366 ai_discord_search_persona :
364367 default : " "
365368 type : enum
@@ -369,6 +372,7 @@ discourse_ai:
369372 type : list
370373 list_type : compact
371374 default : " "
375+ hidden : true
372376
373377 ai_spam_detection_enabled :
374378 default : false
You can’t perform that action at this time.
0 commit comments