Skip to content

config/default: Codex in a sandbox pays with /secrets/openai even when a ChatGPT plan is connected #7

Backlog

Description

@eastlondoner

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:

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:

Checked against main at b54968a.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions