feat(onboarding): polish setup experience

This commit is contained in:
Thomas Camlong authored and ajnart committed 2026-08-14 11:32:12 +02:00
1 parent 66ad01e7ce
commit c25c1dbac7
34 files changed
+1005 -1172

No files matched your search

@@ -59,6 +59,18 @@ const createConfiguredAssistantAsync = async () => {
return db;
};
describe("assistantRouter.getAdminConfiguration", () => {
test("defaults an unconfigured Assistant to the Homarr provider", async () => {
const caller = assistantRouter.createCaller({ db: createDb(), deviceType: undefined, session: adminSession });
await expect(caller.getAdminConfiguration()).resolves.toMatchObject({
connectionConfigured: false,
provider: "homarr",
baseUrl: "https://homarr.dev/api/ai/v1",
});
});
});
describe("assistantRouter.updateConnection", () => {
test("clears the persisted model when the discovery path changes without clearing credentials", async () => {
const db = await createConfiguredAssistantAsync();