style: apply oxfmt

This commit is contained in:
Peter Steinberger
2026-01-17 17:44:54 +00:00
parent bc6928525d
commit 7876679c5d
7 changed files with 17 additions and 19 deletions

View File

@@ -240,14 +240,14 @@ export async function applyNonInteractiveAuthChoice(params: {
flagValue: opts.kimiCodeApiKey,
flagName: "--kimi-code-api-key",
envVar: "KIMICODE_API_KEY",
runtime
runtime,
});
if (!resolved) return null;
if (resolved.source !== "profile") await setKimiCodeApiKey(resolved.key);
nextConfig = applyAuthProfileConfig(nextConfig, {
profileId: "kimi-code:default",
provider: "kimi-code",
mode: "api_key"
mode: "api_key",
});
return applyKimiCodeConfig(nextConfig);
}