fix(ai-moderation): raise retry backoffs and cooldowns, make 429 retryable, reduce prompt false positives
This commit is contained in:
1 parent
d7a35e8377
commit
25c86dcc30
5 files changed
+57
-29
No files matched your search
@@ -96,7 +96,7 @@ const configSchema = z
|
||||
.number()
|
||||
.positive()
|
||||
.default(15000),
|
||||
AI_ANALYSIS_ERROR_COOLDOWN_MS: z.coerce.number().positive().default(0),
|
||||
AI_ANALYSIS_ERROR_COOLDOWN_MS: z.coerce.number().positive().default(30000),
|
||||
/** Max messages fetched per conversation batch (token budget is the real constraint). */
|
||||
AI_ANALYSIS_MAX_BATCH_SIZE: z.coerce.number().int().positive().default(200),
|
||||
AI_ANALYSIS_MAX_CONTEXT_TOKENS: z.coerce.number().positive().default(8000),
|
||||
|
||||
Reference in new issue
Block a user