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
injectCodexConfig() unconditionally writes [features] fast_mode = true into ~/.codex/config.toml on every ocx init / ocx start / ocx sync (and the fallback profile always says fast_mode = true). That disagrees with the tri-state fastMode setting used on the wire path (OcxConfig.fastMode, src/types.ts):
fastMode: false — the wire path strips service_tier from outgoing Requests/Responses, but the client-side injection still forces fast_mode = true, so Codex asks for fast mode while the proxy silently removes the tier. The two halves of the setting contradict each other.
fastMode unset — documented as "passthrough (don't modify what the client sends)", yet injection still adds fast_mode = true (and creates a [features] table in configs that never had one), overriding user-owned settings such as fast_mode = false and conflicting with setups that intentionally run without fast mode.
Expected behavior
The client-side injection should follow the same tri-state semantics as the wire path:
fastMode: false → write fast_mode = false (consistent with the wire strip).
fastMode unset → leave the user's fast_mode untouched and do not add a [features] table if none exists (fast mode becomes opt-in).
The fallback profile (opencodex.config.toml) should mirror the flag too.
Proposed fix
Thread config?.fastMode through ensureFastModeFeature() and buildProfileFile() in src/codex/inject.ts, writing fast_mode = true|false per the setting and no-op when unset, with regression tests for all three states.
Thanks for taking the time to submit this issue. It was closed automatically because it was not opened with a recognized issue template (Bug report, Feature request, Documentation, or Provider compatibility). Freeform and API-opened issues cannot skip this check.
This issue does not use a recognized issue template.
Please edit the issue to add:
Open a new issue with the Bug report, Feature request, Documentation, or Provider compatibility template.
Or edit this issue so the body uses the template section headings for the kind of report you are filing.
Activity
github-actions commentedon Aug 4, 2026
Automated translation bookkeeping — detected language: unknown.
github-actions commentedon Aug 4, 2026
Issue closed: use an issue template
Thanks for taking the time to submit this issue. It was closed automatically because it was not opened with a recognized issue template (Bug report, Feature request, Documentation, or Provider compatibility). Freeform and API-opened issues cannot skip this check.
Please edit the issue to add:
See the Contributing guide for details.
Once the report passes the automated checks, it will be reopened automatically unless a maintainer has changed its state.