Skip to content

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

Codex Live calls: pt-BR, listed after OpenAI, refusal on either signal

milind-soni9963b566f452
diff --git a/apps/docs/content/docs/features/voice-and-memory.mdx b/apps/docs/content/docs/features/voice-and-memory.mdx
index af120aa3e0..872e96651c 100644
--- a/apps/docs/content/docs/features/voice-and-memory.mdx
+++ b/apps/docs/content/docs/features/voice-and-memory.mdx
@@ -78,7 +78,7 @@ A message typed during a call is answered by the bot, and the voice reads that a
A Live call hangs up after 5 minutes in which nobody speaks and the bot is not working (the gear changes the minutes). It drops if its audio does not connect within 20 seconds, and on a phone it ends when you switch away from the app or lock the phone. It also ends at once when the phone that started it is unpaired, or the sign-in that started it is signed out or revoked. Voice notes do not play while you are on a Live call.
-Live calls through OpenAI work from the desktop app, a web browser or your phone. They use your own OpenAI API key, from a project with GPT-Live access: the OpenAI key in **Settings → API keys**, or a separate key for Live calls set from the call's settings, which wins when both are saved. Without a key, the **Live** button says "Live calls use your own OpenAI key. Add it in Settings → API keys." and offers **Open API keys**; a phone shows the same message, since keys are added on your computer. The key stays where you saved it, on This computer or on My Cloud; phones never receive it. OpenAI bills Live audio at about $0.05 per minute; the bot's own work is billed as usual. Live calls work in any desktop build with a microphone (no speech-to-text needed), and are for one bot at a time. Room calls always take turns.
+Live calls are free for everyone, from the desktop app, a web browser or your phone; no plan is needed. Through OpenAI they use your own OpenAI API key, from a project with GPT-Live access: the OpenAI key in **Settings → API keys**, or a separate key for Live calls set from the call's settings, which wins when both are saved. Without a key, the **Live** button says "Live calls use your own OpenAI key. Add it in Settings → API keys." and offers **Open API keys**; a phone shows the same message, since keys are added on your computer. The key stays where you saved it, on This computer or on My Cloud; phones never receive it. OpenAI bills Live audio at about $0.05 per minute; the bot's own work is billed as usual. Live calls work in any desktop build with a microphone (no speech-to-text needed), and are for one bot at a time. Room calls always take turns.
**Live calls through Codex on macOS.** On **This computer**, open **Settings → AI → Voice and calls** and choose **Codex (ChatGPT sign-in)** as the **Service**. This uses the ChatGPT account already signed in to Codex CLI. Update Codex CLI if it does not support voice. The call uses that sign-in for audio, and the bot handles spoken requests in the current chat with its selected AI. This service sends your microphone audio, the bot’s spoken replies, and short work updates to OpenAI. The voice can use those updates when you ask about progress. Previous chat messages stay out of the voice session at startup. Approve actions in the chat. The Codex service is available in the local macOS app.
diff --git a/server/live-call-controller.ts b/server/live-call-controller.ts
index ec59df144e..c6e2531802 100644
--- a/server/live-call-controller.ts
+++ b/server/live-call-controller.ts
@@ -194,7 +194,7 @@ export class LiveCallController {
async start(input: { auth: RequestAuth; device?: string; botId: string; botName: string; threadId: string; client: LiveClient; sdp?: string; relays?: readonly LiveRelayClient[] }): Promise<LiveCallStarted> {
const settings = this.deps.settings();
- if (settings.provider === "codex") {
+ if (settings.provider === "codex" || settings.endpoint?.provider === "codex") {
const refusal = this.codexRefusal(input.auth, input.client);
if (refusal) throw new LiveSessionError(refusal, 403);
}
diff --git a/src/components/LiveProviderSettings.tsx b/src/components/LiveProviderSettings.tsx
index 8504d50eab..9a9ec026de 100644
--- a/src/components/LiveProviderSettings.tsx
+++ b/src/components/LiveProviderSettings.tsx
@@ -47,8 +47,8 @@ export function LiveProviderSettings({ locked = false, onSaving }: { locked?: bo
disabled={saving || locked}
onChange={(event) => void save({ provider: event.target.value as LiveProvider })}
>
- {(offerCodex || provider === "codex") && <option value="codex">{t("call.live.provider.codex")}</option>}
<option value="openai">{t("call.live.provider.openai")}</option>
+ {(offerCodex || provider === "codex") && <option value="codex">{t("call.live.provider.codex")}</option>}
<option value="azure">{t("call.live.provider.azure")}</option>
<option value="fish">{t("call.live.provider.fish")}</option>
<option value="gemini">{t("call.live.provider.gemini")}</option>
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index ff8cec8350..c950e0fe5e 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -6784,6 +6784,8 @@
"call.live.openApiKeys": "Abrir IA › Outros serviços",
"call.live.provider": "Serviço",
"call.live.provider.openai": "OpenAI",
+ "call.live.provider.codex": "Codex (login do ChatGPT)",
+ "call.live.disclosureCodex": "Esta chamada no computador usa o login da sua CLI do Codex e envia o áudio do seu microfone, as respostas faladas do bot e breves atualizações do trabalho para a OpenAI. Aprove as ações na conversa.",
"call.live.provider.azure": "Azure OpenAI",
"call.live.azureEndpoint": "Endereço do recurso do Azure",
"call.live.azureDeployment": "Nome da implantação do GPT-Live",