fix(discord-gateway): require LLM API key only when AI analysis is enabled

This commit is contained in:
MythEclipse
2026-06-02 21:46:15 +07:00
parent 831bb692d9
commit 1e1fbb4583
2 changed files with 4 additions and 4 deletions
@@ -116,12 +116,12 @@ const configSchema = z
.number()
.positive()
.default(120000),
/** Max concurrent individual-fallback LLM calls (effectively unlimited). */
/** Max concurrent individual-fallback jobs admitted by the main event loop. */
AI_ANALYSIS_INDIVIDUAL_MAX_CONCURRENT: z.coerce
.number()
.int()
.positive()
.default(1000),
.default(50),
/**
* How many consecutive individual-fallback errors trigger the individual
* circuit breaker (separate from the batch circuit breaker).