diff --git a/services/discord-gateway/src/modules/ai-moderation/llmClient.ts b/services/discord-gateway/src/modules/ai-moderation/llmClient.ts index a68020c8..a9647e09 100644 --- a/services/discord-gateway/src/modules/ai-moderation/llmClient.ts +++ b/services/discord-gateway/src/modules/ai-moderation/llmClient.ts @@ -380,7 +380,7 @@ export async function llmVision( // the upstream ("Stream ended before producing a non-ping SSE event") — all // streaming retries fail identically, so retry ONCE with stream:false where // the router assembles the complete response server-side. - let completion; + let completion: Awaited>; try { completion = await llmChat({ ...params, stream: true }); } catch (err) {