mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 16:07:33 +00:00
Codex manifests fetched from upstream carry automatic modes such as codex-auto-review, which upstream already hides from the model picker and Codex uses to review approvals. The gateway removes every automatic mode the group model list does not select, so Codex falls back to the main model for reviews and the forwarded manifest always differs from upstream. Add keep_hidden_auto_modes to the group Codex manifest config. When enabled, automatic modes that upstream marks as hidden are forwarded byte-for-byte; visible ones are still removed unless selected, and explicit selections keep listing them in the picker. The switch is off by default, so existing groups behave as before, and the admin group dialog exposes it next to the pinned accounts settings.