2825250804235e9ac08b1e60927605702115f91a
User: 'jangan ada reputasi juga' — no profile, no reputation in the prompt, raw messages only. - textBatchProcessor: drop initializeUserReputation fetch + <user_reputation> tag injection (kept the minimal <message> tag + reply/reference context). - visionAnalyzer (prepareMediaMessage): same removal. - prompts/system.ts + prompts/output.ts: replace <user_reputation>/<user_history> instructions with an explicit 'no per-user profile/reputation context' note so the LLM judges purely on message content + conversation/web/location. - mediaBatchProcessor: fix stale comment. Trust/infraction state is STILL written to the DB (userReputationsTable) for enforcement — only the LLM context injection is removed, so moderation actions (mute/ban via infraction thresholds) keep working. Net: even smaller prompts (no per-user context at all) → more messages fit per request, and one fewer DB round-trip per unique user per sub-batch. tsc, biome, vitest (129) all clean.
Description
Bete Discord moderation watcher
27 MiB
Languages
TypeScript
96.8%
Nix
1%
Shell
0.9%
CSS
0.5%
PLpgSQL
0.5%
Other
0.3%