This PR fixes an issue where LLM enumerator would error out when `SiteSetting.ai_spam_detection = true` but there was no `AiModerationSetting.spam` present. Typically, we add an `LlmDependencyValidator` for the setting itself, however, since Spam is unique in that it has it's model set in `AiModerationSetting` instead of a `SiteSetting`, we'll add a simple check here to prevent erroring out. |
||
|---|---|---|
| .. | ||
| 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 | ||