You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
config/default: Codex in a sandbox pays with /secrets/openai even when a ChatGPT plan is connected #7
The template runs Codex in a sandbox with /secrets/openai even when the mind has a ChatGPT plan connected. agents.ts tries /secrets/chatgpt first for the platform's agents; sandboxes.md does not.
Where.core/configs/default/sandboxes.md: the Codex line under "Claude Code and Codex" (CODEX_API_KEY: 'getSecret("/secrets/openai")') and the "Check it" script.
What happened (2026-11-26). With /secrets/openai going through iterate Cloud's proxy, Codex stopped with:
ERROR: unexpected status 402 Payment Required: This mind's credit from iterate is spent., url: https://api.openai.com/v1/responses
The owner's ChatGPT plan was connected and working for every Dash agent at the time.
What we changed in our mind's sandboxes.md:
Codex runs with CODEX_API_KEY='getSecret("/secrets/chatgpt", { field: "accessToken" })' and -m gpt-6.2-sol.
The "Check it" script uses /secrets/chatgpt when that check passes, else /secrets/openai.
Suggested change. Let the template choose in the same order as agents.ts: the ChatGPT plan when /secrets/chatgpt is set and live, then /secrets/openai. Two things to say beside it:
Activity