From 9ef7d005fb94811f49a6c4d5df126b2e369dac2e Mon Sep 17 00:00:00 2001 From: asepharyana Date: Mon, 24 Aug 2026 22:07:33 +0700 Subject: [PATCH] style(llmClient): explicit type utk let completion (noImplicitAnyLet) --- services/discord-gateway/src/modules/ai-moderation/llmClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {