style: run oxfmt

This commit is contained in:
Peter Steinberger
2026-01-16 21:11:55 +00:00
parent 168a0f4998
commit d887027e95
7 changed files with 16 additions and 16 deletions

View File

@@ -88,8 +88,7 @@ export async function setSyntheticApiKey(key: string, agentDir?: string) {
export const ZAI_DEFAULT_MODEL_REF = "zai/glm-4.7";
export const OPENROUTER_DEFAULT_MODEL_REF = "openrouter/auto";
export const VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF =
"vercel-ai-gateway/anthropic/claude-opus-4.5";
export const VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF = "vercel-ai-gateway/anthropic/claude-opus-4.5";
export async function setZaiApiKey(key: string, agentDir?: string) {
// Write to resolved agent dir so gateway finds credentials on startup.

View File

@@ -63,9 +63,7 @@ describe("onboard (non-interactive): Vercel AI Gateway", () => {
agents?: { defaults?: { model?: { primary?: string } } };
};
expect(cfg.auth?.profiles?.["vercel-ai-gateway:default"]?.provider).toBe(
"vercel-ai-gateway",
);
expect(cfg.auth?.profiles?.["vercel-ai-gateway:default"]?.provider).toBe("vercel-ai-gateway");
expect(cfg.auth?.profiles?.["vercel-ai-gateway:default"]?.mode).toBe("api_key");
expect(cfg.agents?.defaults?.model?.primary).toBe(
"vercel-ai-gateway/anthropic/claude-opus-4.5",