fix(ai-moderation): implement exponential backoff for LLM and vision API retries

This commit is contained in:
MythEclipse committed 2026-06-04 13:02:02 +07:00
1 parent 1c46a8a084
commit c304d4ca7c
2 files changed
+92 -54

No files matched your search

@@ -107,8 +107,8 @@ export async function llmChat(
},
{
retries,
minTimeout: 0,
maxTimeout: 0,
minTimeout: 500,
maxTimeout: 4_000,
factor: 2,
},
);