ci: fix biome format gate so Build & Deploy passes

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).
This commit is contained in:
asepharyana
2026-08-15 21:39:44 +07:00
parent 0164444dd7
commit e2013988ff
@@ -199,20 +199,17 @@ export function buildLlmParams(
if (jsonResponse) params.response_format = jsonResponse; if (jsonResponse) params.response_format = jsonResponse;
if (disableThinking) { if (disableThinking) {
Object.assign( Object.assign(params, {
params, // OpenAI o-series
{ reasoning_effort: "none",
// OpenAI o-series // OpenRouter
reasoning_effort: "none", reasoning: { enabled: false },
// OpenRouter // vLLM / Qwen / litellm
reasoning: { enabled: false }, chat_template_kwargs: { enable_thinking: false },
// vLLM / Qwen / litellm // Anthropic / Claude-format (9router exposes thinkingFormat
chat_template_kwargs: { enable_thinking: false }, // "claude-adaptive" / "claude-budget" on its reasoning models)
// Anthropic / Claude-format (9router exposes thinkingFormat thinking: { type: "disabled" },
// "claude-adaptive" / "claude-budget" on its reasoning models) } as Record<string, unknown>);
thinking: { type: "disabled" },
} as Record<string, unknown>,
);
} }
return params; return params;