feat(ai-moderation): eliminate LLM-based badword detection in favor of pure rule-based matching
This commit is contained in:
@@ -356,7 +356,7 @@ async function processIndividualFallback(
|
||||
limit: config.AI_ANALYSIS_CONTEXT_MESSAGE_LIMIT,
|
||||
});
|
||||
|
||||
const contextLines = await buildConversationContext({
|
||||
const contextLines = buildConversationContext({
|
||||
contextBefore,
|
||||
targets: [message],
|
||||
maxTokens: config.AI_ANALYSIS_MAX_CONTEXT_TOKENS,
|
||||
|
||||
Reference in New Issue
Block a user