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(ui): stop the Codex subscription card from demanding an OpenAI API key

Ruben Lütke6539a6fac7d0
diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
index 52df73ec6e..f8c374e70f 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
@@ -832,7 +832,14 @@ function CodexConnectionCard({
subtitle={detail}
warning={
<div className="space-y-2" data-agent-card-control>
- {row?.secret_key && (
+ {/* The OpenAI key is the ALTERNATIVE way in (per-token billing), not
+ a requirement of the ChatGPT login. Showing it unconditionally on
+ this subscription card read as "the subscription needs an OpenAI
+ API key" (user report 2026-07-17), so render it only while the
+ login is absent — or when a key is actually stored, so it stays
+ replaceable/deletable. Mirrors the Claude/Antigravity siblings,
+ whose subscription cards carry no key field. */}
+ {row?.secret_key && (!connected || row.dedicated_key_set) && (
<ApiKeyForm
secretKey={row.secret_key}
dashboardUrl={row.dashboard_url}
diff --git a/jarvis/ui/web/server.py b/jarvis/ui/web/server.py
index 77887694b3..bbffa197e4 100644
--- a/jarvis/ui/web/server.py
+++ b/jarvis/ui/web/server.py
@@ -1054,9 +1054,13 @@ class WebServer:
),
"secret_key": "codex_openai_api_key",
"dashboard_url": "https://platform.openai.com/api-keys",
+ # Framed as the ALTERNATIVE to the ChatGPT login — the old
+ # wording made the subscription card look like it required
+ # an OpenAI API key (user report 2026-07-17).
"credential_help": (
- "Dedicated OpenAI key for the Codex Jarvis-Agent. "
- "It is not used by Brain or Realtime."
+ "No ChatGPT login? Paste an OpenAI API key instead — "
+ "Codex then bills per token. Not used by Brain or "
+ "Realtime."
),
"is_active_brain": primary == "openai-codex",
# ChatGPT subscription OAuth OR an OpenAI API key.