diff --git a/src/agents/model-catalog.test.ts b/src/agents/model-catalog.test.ts index 8d13453b66e..af090d70cab 100644 --- a/src/agents/model-catalog.test.ts +++ b/src/agents/model-catalog.test.ts @@ -359,11 +359,7 @@ describe("loadModelCatalog", () => { it("matches models across canonical provider aliases", () => { expect( - findModelInCatalog( - [{ provider: "z.ai", id: "glm-5", name: "GLM-5" }], - "z-ai", - "glm-5", - ), + findModelInCatalog([{ provider: "z.ai", id: "glm-5", name: "GLM-5" }], "z-ai", "glm-5"), ).toEqual({ provider: "z.ai", id: "glm-5", diff --git a/src/agents/models-config.providers.auth-provenance.test.ts b/src/agents/models-config.providers.auth-provenance.test.ts index b68879274d9..cd05c95d024 100644 --- a/src/agents/models-config.providers.auth-provenance.test.ts +++ b/src/agents/models-config.providers.auth-provenance.test.ts @@ -5,8 +5,8 @@ import { join } from "node:path"; import { describe, expect, it } from "vitest"; import { captureEnv } from "../test-utils/env.js"; import { MINIMAX_OAUTH_MARKER, NON_ENV_SECRETREF_MARKER } from "./model-auth-markers.js"; -import { createProviderAuthResolver } from "./models-config.providers.secrets.js"; import { resolveImplicitProvidersForTest } from "./models-config.e2e-harness.js"; +import { createProviderAuthResolver } from "./models-config.providers.secrets.js"; describe("models-config provider auth provenance", () => { it("persists env keyRef and tokenRef auth profiles as env var markers", async () => { @@ -125,9 +125,7 @@ describe("models-config provider auth provenance", () => { }, ); - expect( - auth("openai"), - ).toEqual({ + expect(auth("openai")).toEqual({ apiKey: "OPENAI_PROFILE_KEY", discoveryApiKey: undefined, mode: "api_key", diff --git a/src/agents/skills/source.ts b/src/agents/skills/source.ts index a44819722e4..a90c47d11a2 100644 --- a/src/agents/skills/source.ts +++ b/src/agents/skills/source.ts @@ -14,7 +14,6 @@ export function resolveSkillSource(skill: Skill): string { if (sourceInfoSource) { return sourceInfoSource; } - const legacySource = - typeof compatSkill.source === "string" ? compatSkill.source.trim() : ""; + const legacySource = typeof compatSkill.source === "string" ? compatSkill.source.trim() : ""; return legacySource || "unknown"; } diff --git a/ui/src/ui/views/exec-approval.ts b/ui/src/ui/views/exec-approval.ts index 9ac7b4bec49..256a85addb2 100644 --- a/ui/src/ui/views/exec-approval.ts +++ b/ui/src/ui/views/exec-approval.ts @@ -40,13 +40,11 @@ function renderExecBody(request: ExecApprovalRequestPayload) { function renderPluginBody(active: ExecApprovalRequest) { return html` - ${ - active.pluginDescription - ? html`
+ ${active.pluginDescription
+ ? html`
${active.pluginDescription}`
- : nothing
- }
+ : nothing}
- ${
- queueCount > 1
- ? html`${queueCount} pending`
- : nothing
- }
+ ${queueCount > 1
+ ? html`${queueCount} pending`
+ : nothing}
${isPlugin ? renderPluginBody(active) : renderExecBody(request)}
- ${
- state.execApprovalError
- ? html`${state.execApprovalError}`
- : nothing
- }
+ ${state.execApprovalError
+ ? html`${state.execApprovalError}`
+ : nothing}