b480f13a0f
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_spec.rb | ||
llm_enumerator_spec.rb | ||
llm_validator_spec.rb |