mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-05-24 00:44:47 +08:00
## 🔍 Overview
We want to unhide `ai_spam_detection_enabled` setting so that we can retain staff action log features. However, we also want to ensure users cannot enable spam detection without having `AiModerationSetting.spam` present in the database.
In this update we unhide the setting, but also add a validator to ensure the necessary configuration is in place before allowing the setting to be enabled.
|
||
|---|---|---|
| .. | ||
| embedding_defs_enumerator.rb | ||
| embedding_defs_validator.rb | ||
| embeddings_model_validator.rb | ||
| embeddings_module_validator.rb | ||
| llm_dependency_validator.rb | ||
| llm_enumerator.rb | ||
| llm_validator.rb | ||
| llm_vision_enumerator.rb | ||
| persona_enumerator.rb | ||
| spam_detection_validator.rb | ||