perf(discord-gateway): start AI moderation analysis immediately, running attachment uploads in parallel instead of blocking
This commit is contained in:
@@ -184,9 +184,15 @@ CRITICAL:
|
||||
// Composer: assembles all sections with XML delimiters
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/** Prompt mode — determines which few-shot example section is included. */
|
||||
export type PromptMode = "text" | "media" | "mixed";
|
||||
|
||||
export interface BuildSystemPromptOptions {
|
||||
contextText: string;
|
||||
includeMediaInstructions: boolean;
|
||||
/** Prompt mode — determines which sections are included. */
|
||||
mode: PromptMode;
|
||||
/** @deprecated Use `mode` instead. */
|
||||
includeMediaInstructions?: boolean;
|
||||
correction?: { error: string; preview: string };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user