Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Merge branch 'main' into feat/issue-6243

Krishna Dobhalbbf17e227e2a
diff --cc server/user-errors.ts
index 917c7ddf52,a0f84f1b30..c5406a13b7
--- a/server/user-errors.ts
+++ b/server/user-errors.ts
@@@ -219,8 -219,7 +219,8 @@@ export const USER_ERROR =
"serverError.mailbox.adminOnly": "Only the owner or an admin can manage the mailboxes.",
"serverError.mailbox.addressAndPassword": "Enter your email address and password.",
"serverError.mailbox.outgoingFields": "Check the outgoing server: a name like mail.example.com, a port from 1 to 65535, and SSL/TLS or STARTTLS.",
+ "serverError.voice.deepseekKeyRequired": "Add a DeepSeek API key in Settings → API keys to talk to your bots with DeepSeek voice.",
- "serverError.voice.fishKeyRequired": "Add a Fish Audio or ElevenLabs key in Settings → API keys to talk to your bots here.",
+ "serverError.voice.fishKeyRequired": "Add a Fish Audio or ElevenLabs key in Settings → AI → Other services to talk to your bots here.",
"serverError.voice.fishTranscribeConnection": "Couldn't reach Fish Audio to hear you — check your connection.",
"serverError.voice.elevenLabsTranscribeConnection": "Couldn't reach ElevenLabs to hear you — check your connection.",
"serverError.file.tooLarge": "This file is {size}, over the {limit} limit for opening files from chat. The file itself is still saved as {name}.",
diff --cc src/components/CallView.availability.test.ts
index c2e60af3f8,806f9d555b..e41238a5ef
--- a/src/components/CallView.availability.test.ts
+++ b/src/components/CallView.availability.test.ts
@@@ -87,11 -87,11 +87,11 @@@ 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({
+ expect(callCapabilityHelp(fish, true, "fish")).toEqual({
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.",
+ reason: "On this computer, Take turns hears you through Fish Audio or ElevenLabs speech-to-text. Add either key in Settings → AI → Other services.",
});
- expect(callCapabilityHelp(fish, true, true)).toBeNull();
+ expect(callCapabilityHelp(fish, true, null)).toBeNull();
});
it("distinguishes a broken local speech service from an unsupported device", () => {
diff --cc src/locales/en.json
index 1ca3080e92,5a95965375..7889f4babe
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@@ -6930,9 -6829,7 +6829,9 @@@
"call.mode.live": "Live",
"call.mode.liveHint": "Talk naturally and interrupt any time; the bot still does the work.",
"call.capability.turnsNeedFishKey": "Add a Fish Audio or ElevenLabs key to take turns on calls",
- "call.capability.turnsNeedFishKeyReason": "On this computer, Take turns hears you through Fish Audio or ElevenLabs speech-to-text. Add either key in Settings → API keys.",
+ "call.capability.turnsNeedDeepSeekKey": "Add a DeepSeek key to take turns on calls",
+ "call.capability.turnsNeedDeepSeekKeyReason": "DeepSeek is your voice, so Take turns hears you through DeepSeek speech-to-text. Add a DeepSeek key in Settings → API keys.",
+ "call.capability.turnsNeedFishKeyReason": "On this computer, Take turns hears you through Fish Audio or ElevenLabs speech-to-text. Add either key in Settings → AI → Other services.",
"call.capability.turnsNeedDesktop": "Calls where you take turns need the desktop app",
"call.capability.turnsNeedDesktopReason": "They listen from this computer, so they need {app} on a Mac, Windows or Linux computer.",
"call.capability.turnsOnThisComputerAnyOs": "Calls where you take turns work with bots on this computer",
@@@ -10434,22 -10259,16 +10261,22 @@@
"server.connect.emailOnComputer": "Type your email address and password on your computer.",
"serverError.mailbox.adminOnly": "Only the owner or an admin can manage the mailboxes.",
"serverError.mailbox.addressAndPassword": "Enter your email address and password.",
+ "serverError.voice.deepseekKeyRequired": "Add a DeepSeek API key in Settings → API keys to talk to your bots with DeepSeek voice.",
- "serverError.voice.fishKeyRequired": "Add a Fish Audio or ElevenLabs key in Settings → API keys to talk to your bots here.",
+ "serverError.voice.fishKeyRequired": "Add a Fish Audio or ElevenLabs key in Settings → AI → Other services to talk to your bots here.",
"serverError.voice.fishTranscribeConnection": "Couldn't reach Fish Audio to hear you — check your connection.",
"serverError.voice.elevenLabsTranscribeConnection": "Couldn't reach ElevenLabs to hear you — check your connection.",
"serverError.file.tooLarge": "This file is {size}, over the {limit} limit for opening files from chat. The file itself is still saved as {name}.",
"server.botApi.engineRefusal": "This thread came in through the Bot API, and this bot's AI can't work in it. Start a new conversation.",
"server.botApi.confinedWhy": "This call came in through the Bot API, so it can only answer from what this bot already knows.",
"voice.openai.description": "Read replies and voice messages with AI-generated voices. Uses your OpenAI API key and is billed by OpenAI based on API usage. Live call settings are separate.",
- "voice.openai.missingKey": "Add an OpenAI API key in Settings → API keys on the host to use readout.",
+ "voice.deepseek.sharedKey": "DeepSeek uses this installation’s existing DeepSeek key.",
+ "voice.deepseek.description": "Reads replies and voice messages aloud with DeepSeek’s Stella or Tide voice. Choosing DeepSeek also makes dictation and Take turns hear you through DeepSeek speech-to-text, up to about two minutes per recording. Uses your DeepSeek API key and is billed by DeepSeek.",
+ "voice.deepseek.missingKey": "Add a DeepSeek API key in Settings → API keys on the host to use DeepSeek voice.",
+ "voice.deepseek.stella": "Stella (female)",
+ "voice.deepseek.tide": "Tide (male)",
+ "voice.openai.missingKey": "Add an OpenAI API key in Settings → AI on the host to use readout.",
"voice.sample": "Good morning. The tests passed overnight, and I left two notes for you in the chat.",
- "voice.openai.error.key": "Add an OpenAI API key in Settings → API keys to read replies aloud.",
+ "voice.openai.error.key": "Add an OpenAI API key in Settings → AI to read replies aloud.",
"voice.openai.error.auth": "OpenAI rejected the API key or its Realtime access. Check the key and project permissions in Settings.",
"voice.openai.error.rateLimit": "OpenAI speech is rate limited or out of API credits. Check your API usage before trying again.",
"voice.openai.error.timeout": "OpenAI speech timed out. No audio was played for this segment.",
diff --cc src/locales/pt-br.json
index 96b7472492,72b8fc96b8..eb0cb18521
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@@ -11074,12 -10899,66 +10899,74 @@@
"room.members.far.place": "em {place}",
"room.members.far.off": "Ligação desligada",
"room.members.far.missing": "Não está mais disponível",
+ "voice.deepseek.sharedKey": "o DeepSeek usa a chave do DeepSeek que já existe nesta instalação.",
+ "voice.deepseek.description": "Lê respostas e mensagens de voz em voz alta com a voz Stella ou Tide do DeepSeek. Ao escolher o DeepSeek, o ditado e o modo Um de cada vez também ouvem você pela transcrição de fala do DeepSeek, até cerca de dois minutos por gravação. Usa sua chave de API do DeepSeek e é cobrado pelo DeepSeek.",
+ "voice.deepseek.missingKey": "Adicione uma chave de API do DeepSeek em Configurações → Chaves de API no computador anfitrião para usar a voz do DeepSeek.",
+ "voice.deepseek.stella": "Stella (feminina)",
+ "voice.deepseek.tide": "Tide (masculina)",
+ "call.capability.turnsNeedDeepSeekKey": "Adicione uma chave do DeepSeek para falar um de cada vez nas chamadas",
+ "call.capability.turnsNeedDeepSeekKeyReason": "O DeepSeek é a sua voz, então o modo Um de cada vez ouve você pela transcrição de fala do DeepSeek. Adicione uma chave do DeepSeek em Configurações → Chaves de API.",
+ "serverError.voice.deepseekKeyRequired": "Adicione uma chave de API do DeepSeek em Configurações → Chaves de API para falar com seus bots com a voz do DeepSeek."
+ "template.status.draft": "Rascunho",
+ "template.status.publishing": "Publicando…",
+ "template.status.published": "Publicado",
+ "template.status.failed": "Não foi possível publicar",
+ "template.status.gone": "Excluído",
+ "template.botsOne": "1 bot",
+ "template.botsMany": "{count} bots",
+ "template.skillsOne": "1 habilidade",
+ "template.skillsMany": "{count} habilidades",
+ "template.routinesOne": "1 rotina (pausada)",
+ "template.routinesMany": "{count} rotinas (pausadas)",
+ "template.appsOne": "1 app",
+ "template.appsMany": "{count} apps",
+ "template.neverShared": "Conversas, memória e chaves nunca são compartilhadas",
+ "template.redactedOne": "1 item ocultado",
+ "template.redactedMany": "{count} itens ocultados",
+ "template.skipped": "Ficou de fora: {list}",
+ "template.failed": "Algo deu errado. Tente de novo.",
+ "template.saveFolder": "Salvar pasta…",
+ "template.uploadOnGithub": "Enviar pelo GitHub",
+ "template.viewOnGithub": "Ver no GitHub",
+ "template.viewPullRequest": "Ver pull request",
+ "template.publish": "Publicar",
+ "template.publishToCommunity": "Publicar na comunidade",
+ "template.signInToPublish": "Entre no MausBot para publicar",
+ "template.publishUnavailable": "Não é possível publicar por aqui",
+ "template.savedTo": "Salvo em {path}",
+ "template.update": "Atualizar",
+ "template.delete": "Excluir",
+ "template.details": "Detalhes",
+ "template.more": "Mais",
+ "template.lead": "Chefe de gabinete",
+ "template.row.instructions": "Instruções",
+ "template.row.skills": "Habilidades",
+ "template.row.routines": "Rotinas (pausadas)",
+ "template.row.apps": "Apps para conectar",
+ "template.row.groupChats": "Conversas em grupo",
+ "template.row.brief": "Resumo da equipe",
+ "template.arrives": "As rotinas chegam pausadas. Os apps se conectam com as suas próprias contas.",
+ "template.loading": "Carregando…",
+ "template.making": "Criando o modelo…",
+ "template.publicNote": "Publicar deixa o modelo público no GitHub.",
+ "template.shareDepartment": "Compartilhar {name}",
+ "template.shareAsTemplate": "Compartilhar como modelo",
+ "templateImport.title": "Importar",
+ "templateImport.linkLabel": "Cole um link do GitHub",
+ "templateImport.open": "Abrir",
+ "templateImport.or": "ou",
+ "templateImport.chooseFolder": "Escolher pasta…",
+ "templateImport.add": "Adicionar",
+ "templateImport.adding": "Adicionando…",
+ "templateImport.back": "Voltar",
+ "templateImport.added": "Adicionado",
+ "templateImport.addedAppOne": "Adicionado · 1 app para conectar",
+ "templateImport.addedAppMany": "Adicionado · {count} apps para conectar",
+ "templateImport.tooLarge": "Esta pasta tem mais de 4 MB. Escolha uma pasta de modelo.",
+ "templateImport.folderUnreadable": "Não foi possível ler esta pasta. Escolha de novo.",
+ "templateImport.failed": "Não foi possível importar. Confira o link e tente de novo.",
+ "templateImport.notATemplate": "Isto não é um modelo. Escolha outro.",
+ "sidebar.addDepartment": "Adicionar equipe",
+ "sidebar.import": "Importar…",
+ "team.shareDepartment": "Compartilhar"
}