feat(coding-agent): expose dynamic provider refresh

This commit is contained in:
Mario Zechner
2026-07-15 12:56:50 +02:00
parent 45203abfa0
commit bd9e09db44
13 changed files with 164 additions and 55 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ describe("Radius provider", () => {
});
expect(runtime.getModel(RADIUS_PROVIDER_ID, "auto")).toBeDefined();
expect(await modelsStore.read(RADIUS_PROVIDER_ID)).toHaveLength(1);
expect((await modelsStore.read(RADIUS_PROVIDER_ID))?.models).toHaveLength(1);
expect(vi.mocked(fetch).mock.calls[0]?.[1]?.headers).toMatchObject({ authorization: "Bearer access-token" });
});