feat(ai-moderation): eliminate LLM-based badword detection in favor of pure rule-based matching

This commit is contained in:
MythEclipse
2026-06-04 17:33:08 +07:00
parent b3d42118bd
commit ce8a42f5fd
6 changed files with 167 additions and 128 deletions
@@ -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,