mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-05-24 00:44:47 +08:00
Since we enable/disable `ai_spam_detection_enabled` setting in a custom Spam tab UI in AI, we want to ensure we retain the setting and logging features. To preserve that, we want to update the controller to use `SiteSetting.set_and_log` instead of setting the value directly. |
||
|---|---|---|
| .. | ||
| ai_embeddings_controller.rb | ||
| ai_features_controller.rb | ||
| ai_llm_quotas_controller.rb | ||
| ai_llms_controller.rb | ||
| ai_personas_controller.rb | ||
| ai_spam_controller.rb | ||
| ai_tools_controller.rb | ||
| ai_usage_controller.rb | ||
| dashboard_controller.rb | ||
| rag_document_fragments_controller.rb | ||