Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
test(voice): call tests expect the Fish Audio or ElevenLabs key wording
AdityaUmaleffdab515e560
diff --git a/src/components/CallView.availability.test.ts b/src/components/CallView.availability.test.tsindex 6bfab4ab94..3afc4d9d5b 100644--- a/src/components/CallView.availability.test.ts+++ b/src/components/CallView.availability.test.ts@@ -88,8 +88,8 @@ describe("call capability guidance", () => {it("keeps Take turns off on Windows until a Fish Audio key is saved, and says where to add one", () => {const fish = capabilities({ available: true, engine: "fish-audio", onDevice: false }, "win32");expect(callCapabilityHelp(fish, true, false)).toEqual({- label: "Add a Fish Audio key to take turns on calls",- reason: "On this computer, Take turns hears you through Fish Audio speech-to-text. Add a Fish Audio key in Settings → API keys.",+ label: "Add a Fish Audio or ElevenLabs key to take turns on calls",+ reason: "On this computer, Take turns hears you through Fish Audio or ElevenLabs speech-to-text. Add either key in Settings → API keys.",});expect(callCapabilityHelp(fish, true, true)).toBeNull();});diff --git a/src/components/CallView.journeys.test.ts b/src/components/CallView.journeys.test.tsindex 01a30d436f..94f5fab1f1 100644--- a/src/components/CallView.journeys.test.ts+++ b/src/components/CallView.journeys.test.ts@@ -263,7 +263,7 @@ describe("calling a bot off the Mac", () => {it.each(["win32", "linux"] as const)("on This computer in the %s app with no Fish Audio key, the call is Live, Take turns asks for the key, and Live points to API keys", async (platform) => {open(desktopApp(platform, "this-computer"));chat(THIS_COMPUTER);- expectTurnsDisabled("Add a Fish Audio key to take turns on calls. On this computer, Take turns hears you through Fish Audio speech-to-text. Add a Fish Audio key in Settings → API keys.");+ expectTurnsDisabled("Add a Fish Audio or ElevenLabs key to take turns on calls. On this computer, Take turns hears you through Fish Audio or ElevenLabs speech-to-text. Add either key in Settings → API keys.");await firstLiveCall();});@@ -274,7 +274,7 @@ describe("calling a bot off the Mac", () => {press(container.querySelector('[aria-label="Call mode"]'));const [turns] = menuItems();expect(turns?.hasAttribute("aria-disabled")).toBe(false);- expect(turns?.textContent).toContain("Fish Audio turns what you say into text, so your voice goes to Fish Audio.");+ expect(turns?.textContent).toContain("Fish Audio (or ElevenLabs, if that's the key you saved) turns what you say into text, so your voice goes there.");});it.each([@@ -340,7 +340,7 @@ describe("calling a bot off the Mac", () => {open(desktopApp(platform, "this-computer"));flushSync(() => root.render(null));roomHeader(THIS_COMPUTER);- expect(callButton()?.getAttribute("aria-label"), `${platform} on This computer`).toBe("Add a Fish Audio key to take turns on calls");+ expect(callButton()?.getAttribute("aria-label"), `${platform} on This computer`).toBe("Add a Fish Audio or ElevenLabs key to take turns on calls");flushSync(() => root.render(null));roomHeader({ ...THIS_COMPUTER, savedKeys: { fishAudioKey: { configured: true } } } as AppState["config"]);expect(callButton()?.getAttribute("aria-label"), `${platform} with a key`).toBe("Call Standup");