From e2013988ff75eb9d38f8730fa0e4105266a8bed8 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sat, 15 Aug 2026 21:39:44 +0700 Subject: [PATCH] ci: fix biome format gate so Build & Deploy passes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Auto-format llmClient.ts (Object.assign indent) — the only biome error blocking the Build & Deploy workflow. Logic unchanged; gateway biome check now exits 0 (11 pre-existing warnings remain, non-blocking). --- .../src/modules/ai-moderation/llmClient.ts | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/services/discord-gateway/src/modules/ai-moderation/llmClient.ts b/services/discord-gateway/src/modules/ai-moderation/llmClient.ts index e07b5e2..4309423 100644 --- a/services/discord-gateway/src/modules/ai-moderation/llmClient.ts +++ b/services/discord-gateway/src/modules/ai-moderation/llmClient.ts @@ -199,20 +199,17 @@ export function buildLlmParams( if (jsonResponse) params.response_format = jsonResponse; if (disableThinking) { - Object.assign( - params, - { - // OpenAI o-series - reasoning_effort: "none", - // OpenRouter - reasoning: { enabled: false }, - // vLLM / Qwen / litellm - chat_template_kwargs: { enable_thinking: false }, - // Anthropic / Claude-format (9router exposes thinkingFormat - // "claude-adaptive" / "claude-budget" on its reasoning models) - thinking: { type: "disabled" }, - } as Record, - ); + Object.assign(params, { + // OpenAI o-series + reasoning_effort: "none", + // OpenRouter + reasoning: { enabled: false }, + // vLLM / Qwen / litellm + chat_template_kwargs: { enable_thinking: false }, + // Anthropic / Claude-format (9router exposes thinkingFormat + // "claude-adaptive" / "claude-budget" on its reasoning models) + thinking: { type: "disabled" }, + } as Record); } return params;