diff --git a/src/agents/models-config.providers.auth-provenance.test.ts b/src/agents/models-config.providers.auth-provenance.test.ts index 76953517c35..0f8f4b27093 100644 --- a/src/agents/models-config.providers.auth-provenance.test.ts +++ b/src/agents/models-config.providers.auth-provenance.test.ts @@ -131,6 +131,8 @@ describe("models-config provider auth provenance", () => { it("resolves plugin-owned synthetic auth through the provider hook", () => { mockedResolveProviderSyntheticAuthWithPlugin.mockReturnValue({ apiKey: "xai-plugin-key", + mode: "api-key", + source: "test plugin", }); const auth = createProviderAuthResolver( {} as NodeJS.ProcessEnv,