diff --git a/src/agents/model-fallback.probe.test.ts b/src/agents/model-fallback.probe.test.ts index 4db399376ea..bead0ac19c9 100644 --- a/src/agents/model-fallback.probe.test.ts +++ b/src/agents/model-fallback.probe.test.ts @@ -27,6 +27,10 @@ vi.mock("./auth-profiles/order.js", () => ({ resolveAuthProfileOrder: vi.fn(), })); +vi.mock("./provider-model-normalization.runtime.js", () => ({ + normalizeProviderModelIdWithRuntime: () => undefined, +})); + vi.mock("./auth-profiles/source-check.js", () => ({ hasAnyAuthProfileStoreSource: vi.fn(() => true), })); diff --git a/src/agents/model-fallback.test.ts b/src/agents/model-fallback.test.ts index 074ef5cde1b..1148cbb3fb3 100644 --- a/src/agents/model-fallback.test.ts +++ b/src/agents/model-fallback.test.ts @@ -32,6 +32,10 @@ vi.mock("../plugins/provider-runtime.js", () => ({ resolveExternalAuthProfilesWithPlugins: () => [], })); +vi.mock("./provider-model-normalization.runtime.js", () => ({ + normalizeProviderModelIdWithRuntime: () => undefined, +})); + const authSourceCheckMock = vi.hoisted(() => ({ hasAnyAuthProfileStoreSource: vi.fn(() => false), }));