discourse-ai/lib/configuration
Keegan George b480f13a0f
FIX: Prevent LLM enumerator from erroring when spam enabled (#1045)
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.
2024-12-27 09:12:29 +11:00
..
embeddings_model_validator.rb FIX: Embeddings validator test needs to use the new Vector class. (#1041) 2024-12-23 14:19:22 -03:00
embeddings_module_validator.rb FIX: embedding validation (#1043) 2024-12-24 09:37:23 +11:00
llm_dependency_validator.rb DEV: Transition "Select model" settings to only use LlmModels (#675) 2024-06-19 18:01:35 -03:00
llm_enumerator.rb FIX: Prevent LLM enumerator from erroring when spam enabled (#1045) 2024-12-27 09:12:29 +11:00
llm_validator.rb DEV: Unreachable LLM error shouldn't prevent setting (#1036) 2024-12-20 11:52:11 -08:00
llm_vision_enumerator.rb FEATURE: Track if a model can do vision in the llm_models table (#725) 2024-07-24 16:29:47 -03:00
persona_enumerator.rb FEATURE: Discord Bot integration (#831) 2024-10-16 12:41:18 -03:00