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
Feature: forward extra args (custom model_provider / profile) to every codex launch #418
Today the plugin only forwards --model and --effort to Codex, and the app-server is always spawned as a bare codex app-server (see plugins/codex/scripts/lib/app-server.mjs). There is no way to pass Codex global overrides such as:
-c model_provider=<id> to select a custom provider
--profile <name>
other -c key=value config overrides
The only workaround is editing ~/.codex/config.toml / .codex/config.toml, which is awkward when you want a plugin-specific provider (e.g. routing the plugin through a LiteLLM/proxy provider) without changing your global Codex defaults.
Proposed solution
Add a CODEX_PLUGIN_CC_ARGS environment variable. When set, its value is tokenized (shell-style) and prepended to every codex invocation the plugin makes — the app-server runtime spawn and the availability checks. For example:
Activity