Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Train fix for #6116: pt-BR for the context panel, and its own button label
milind-soni5a8bba90562b
diff --git a/src/components/ComposerContextMenu.tsx b/src/components/ComposerContextMenu.tsxindex 12fe922dfa..15c481a30b 100644--- a/src/components/ComposerContextMenu.tsx+++ b/src/components/ComposerContextMenu.tsx@@ -208,7 +208,7 @@ export function ComposerContextMenu({ bot, group, members, className }: { bot?:const fullest = group? roomContextReadings(group, members ?? []).map((entry) => entry.reading).sort((a, b) => (b.percent ?? 0) - (a.percent ?? 0))[0]: contextReading(breakdown?.tokens, breakdown?.window) ?? contextReading(context?.tokens, context?.window);- const name = fullest?.percent === undefined ? t("contextMenu.title") : t("contextWarning.short", { percent: fullest.percent });+ const name = fullest?.percent === undefined ? t("contextMenu.title") : t("contextMenu.button", { percent: fullest.percent });return (<span ref={root} data-composer-context className="relative flex shrink-0"><button ref={trigger} type="button" aria-label={name} title={name} aria-haspopup="dialog" aria-expanded={open}diff --git a/src/locales/en.json b/src/locales/en.jsonindex fda38eb1a1..416473b493 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -2745,6 +2745,7 @@"contextWarning.roomHint": "Its next turn here starts fresh with the room's recent messages. Nothing in the room is deleted.","contextWarning.roomRequested": "Compacts before its next turn.","contextMenu.title": "Context",+ "contextMenu.button": "Context {percent}%","contextMenu.roomTitle": "Context of each bot in this room","contextMenu.used": "{percent}% used","contextMenu.tokensOfWindow": "{tokens} of {window} tokens",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex cd6ac0085f..f739ec57ef 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -2570,6 +2570,27 @@"contextWarning.room": "O contexto de {name} neste grupo está em {tokens}.","contextWarning.roomHint": "A próxima sessão dele aqui começa do zero com as mensagens recentes do grupo. Nada no grupo é excluído.","contextWarning.roomRequested": "Compacta antes da próxima sessão.",+ "contextMenu.title": "Contexto",+ "contextMenu.button": "Contexto {percent}%",+ "contextMenu.roomTitle": "Contexto de cada bot neste grupo",+ "contextMenu.used": "{percent}% usado",+ "contextMenu.tokensOfWindow": "{tokens} de {window} tokens",+ "contextMenu.tokens": "{tokens} tokens",+ "contextMenu.rowShare": "{tokens} · {percent}%",+ "contextMenu.empty": "Ainda sem leitura. Ela aparece depois da próxima resposta do bot.",+ "contextMenu.roomEmpty": "Ainda sem leitura. O contexto de um bot aparece depois da próxima sessão dele neste grupo.",+ "contextMenu.providerCompacts": "O provedor compacta esta conversa automaticamente.",+ "contextMenu.compact": "Compactar contexto",+ "contextMenu.compactHint": "Resume as mensagens mais antigas em uma nota curta. A conversa inteira continua aqui.",+ "contextMenu.category.systemPrompt": "Prompt do sistema",+ "contextMenu.category.memoryFiles": "Arquivos de memória",+ "contextMenu.category.tools": "Ferramentas",+ "contextMenu.category.skills": "Habilidades e subagentes",+ "contextMenu.category.toolCalls": "Chamadas de ferramentas e resultados",+ "contextMenu.category.messages": "Mensagens",+ "contextMenu.category.other": "Outros",+ "contextMenu.category.reserved": "Reservado para compactação",+ "contextMenu.category.free": "Espaço livre","chat.emptyPrompt": "Envie uma mensagem para começar a conversa.","chat.chiefOfStaff": "Chefe de gabinete","chat.openProfile": "Abrir o perfil do agente",