discourse-ai/spec/configuration
Keegan George 33fd6801e5
DEV: Add back validator for Spam setting (#1415)
## 🔍 Overview
This update re-introduces the validator used on the `ai_spam_detection_enabled` setting. It was initially added here: https://github.com/discourse/discourse-ai/pull/1374 to prevent Spam from being enabled without creating an `AiModerationSetting` value in the database. However, due to issues with backups/migrations we temporarily removed it here: https://github.com/discourse/discourse-ai/pull/1393. Now with some internal fixes, we can re-introduce it. We also update the validator so that it only validates when trying to turn on rather than when turning off too.
2025-06-06 10:56:36 -07:00
..
llm_enumerator_spec.rb DEV: Add back validator for Spam setting (#1415) 2025-06-06 10:56:36 -07:00
llm_validator_spec.rb FIX: Correctly display errors when parent module needs to be disabled first (#788) 2024-08-30 17:16:11 -03:00
spam_detection_validator_spec.rb DEV: Add back validator for Spam setting (#1415) 2025-06-06 10:56:36 -07:00