chore(discord-gateway): remove unused imports from response logger
- aiAnalyzer.ts: removed unused logAnalysisSummary and logFalsePositiveDetected - llmModerationClient.ts: removed unused logVisionAnalysis, logVisionError, logRetryAttempt These functions are not called in the codebase.
This commit is contained in:
@@ -29,8 +29,6 @@ import { attemptAutoDeleteFlaggedMessage } from "./autoDeleteManager.js";
|
||||
import { buildConversationContext } from "./conversationContext.js";
|
||||
import { runModerationAnalysis } from "./llmModerationClient.js";
|
||||
import {
|
||||
logAnalysisSummary,
|
||||
logFalsePositiveDetected,
|
||||
logModerationError,
|
||||
} from "./responseLogger.js";
|
||||
|
||||
|
||||
@@ -36,12 +36,9 @@ import {
|
||||
} from "./textCacheStore.js";
|
||||
import { extractUrlsFromText, fetchUrlSafely } from "./urlFetcher.js";
|
||||
import {
|
||||
logVisionAnalysis,
|
||||
logCacheEvent,
|
||||
logModerationAnalysis,
|
||||
logModerationError,
|
||||
logVisionError,
|
||||
logRetryAttempt,
|
||||
} from "./responseLogger.js";
|
||||
|
||||
const SeveritySchema = z.enum(["none", "low", "medium", "high", "critical"]);
|
||||
|
||||
Reference in New Issue
Block a user