diff --git a/.env.example b/.env.example index ef56922b..e248e075 100644 --- a/.env.example +++ b/.env.example @@ -86,7 +86,7 @@ BACKLOG_SYNC_BATCH_SIZE=100 # Messages per backlog batch, max 100 (d AI_ANALYSIS_ENABLED=false # Enable AI content moderation (default: false) AI_LLM_API_KEY= # REQUIRED if AI_ANALYSIS_ENABLED=true. LLM API key AI_LLM_BASE_URL=https://9router.asepharyana.my.id/v1 # LLM API base URL (9router — OpenAI-compatible router, replaces omniroute) -AI_LLM_MODEL=claude-opus-5 # LLM text model name (default: claude-opus-5) +AI_LLM_MODEL=text # LLM text model name (default: text) # AI_LLM_VISION_MODEL= # Vision model for image analysis (falls back to AI_LLM_MODEL) # AI_LLM_EMBEDDING_MODEL= # Embedding model for semantic moderation cache (optional; enables near-duplicate text reuse to save LLM calls) # AI_LLM_EMBEDDING_MIN_SIMILARITY=0.97 # Min cosine similarity to reuse a cached verdict (default: 0.97) diff --git a/services/discord-gateway/src/shared/config/index.ts b/services/discord-gateway/src/shared/config/index.ts index 95b0b792..7e6b6235 100644 --- a/services/discord-gateway/src/shared/config/index.ts +++ b/services/discord-gateway/src/shared/config/index.ts @@ -150,7 +150,7 @@ export const configSchema = z .string() .url() .default("https://9router.asepharyana.my.id/v1"), - AI_LLM_MODEL: z.string().default("claude-opus-5"), + AI_LLM_MODEL: z.string().default("text"), // Vision uses the SAME router/base URL as text moderation // (AI_LLM_BASE_URL) but a different model alias. The dedicated NVIDIA // multimodal endpoint was removed.