Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(apikeys): update stale two-mode hint test to the trimmed copy

Ruben Lütkefd3b6c151877
diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx
index 8969ce2513..17b9f11687 100644
--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx
@@ -90,8 +90,10 @@ describe("ApiKeysView two-mode", () => {
render(<ApiKeysView />);
const hint = screen.getByTestId("voice-engine-keys-hint");
expect(screen.getByTestId("voice-engine-context").contains(hint)).toBe(true);
- // The load-bearing message: keys are only needed for the SELECTED mode.
- expect(hint.textContent).toMatch(/only need api keys for the mode you use/i);
+ // The load-bearing message: which keys you need depends on the SELECTED mode.
+ expect(hint.textContent).toMatch(
+ /realtime needs one realtime-capable key; pipeline needs its own/i,
+ );
});
it("defaults to Pipeline mode showing Brain/Voice/Subagents tabs, no Realtime tab", () => {