Bug description
A Paca provider_cli agent using Codex CLI authenticated with a ChatGPT subscription cannot start a conversation when a model is configured. The conversation fails before the first model response with:
Failed to set ACP model option: Invalid params
The same authenticated Codex CLI accepts the model when invoked directly, so this appears to be a Paca/Goose/codex-acp compatibility issue rather than an authentication or model-entitlement issue.
Environment
- Paca:
v0.18.2
- Deployment: Docker Compose on ARM64 Linux
- Agent type:
provider_cli
- CLI provider:
codex
- Codex CLI:
0.159.2
- Auth mode: ChatGPT subscription login (
codex login --device-auth)
- Agent Runner image:
ghcr.io/paca-ai/paca-agent-server-goose:0.18.2
codex-acp is present in the environment image
Reproduction
- Create a Paca project-scoped
provider_cli agent with cli_provider=codex and a static environment.
- Authenticate inside that environment with:
codex login --device-auth
- Verify locally:
Result:
Logged in using ChatGPT.
- Directly run:
codex exec --model gpt-6-luna --sandbox read-only --skip-git-repo-check --ephemeral "Responda somente MODEL_OK"
Result: successful response (MODEL_OK). gpt-5.5 also succeeds.
- Start a conversation through the Paca UI/API using the same static environment.
Actual behavior
The Agent Runner logs:
conversation finished ...
The conversation event contains:
Ran into this error: Request failed: Failed to set ACP model option: Invalid params.
This occurs with:
gpt-6-luna
gpt-5.6-luna
gpt-5.6-luna-900k
Leaving cli_model empty and setting model = "gpt-6-luna" in /home/goose/.codex/config.toml still produces the same ACP model-option error when the conversation is started through Paca.
Expected behavior
The Paca provider_cli Codex agent should either:
- start successfully using the model from the Codex CLI configuration; or
- pass a model identifier in the exact format accepted by the installed
codex-acp; or
- return a more specific compatibility error explaining which ACP/model option is invalid.
Questions
- Is
v0.18.2 expected to work with Codex CLI 0.159.2 and its codex-acp provider?
- Does the provider_cli adapter need to omit the ACP model option for Codex and let
config.toml choose the model?
- Is there a required Codex CLI/
codex-acp version or image tag that should be pinned?
- Is there a documented workaround or a fix available on
master?
No API key was used; authentication was exclusively through the ChatGPT subscription login.
Bug description
A Paca
provider_cliagent using Codex CLI authenticated with a ChatGPT subscription cannot start a conversation when a model is configured. The conversation fails before the first model response with:The same authenticated Codex CLI accepts the model when invoked directly, so this appears to be a Paca/Goose/
codex-acpcompatibility issue rather than an authentication or model-entitlement issue.Environment
v0.18.2provider_clicodex0.159.2codex login --device-auth)ghcr.io/paca-ai/paca-agent-server-goose:0.18.2codex-acpis present in the environment imageReproduction
provider_cliagent withcli_provider=codexand a static environment.Logged in using ChatGPT.MODEL_OK).gpt-5.5also succeeds.Actual behavior
The Agent Runner logs:
The conversation event contains:
This occurs with:
gpt-6-lunagpt-5.6-lunagpt-5.6-luna-900kLeaving
cli_modelempty and settingmodel = "gpt-6-luna"in/home/goose/.codex/config.tomlstill produces the same ACP model-option error when the conversation is started through Paca.Expected behavior
The Paca provider_cli Codex agent should either:
codex-acp; orQuestions
v0.18.2expected to work with Codex CLI0.159.2and itscodex-acpprovider?config.tomlchoose the model?codex-acpversion or image tag that should be pinned?master?No API key was used; authentication was exclusively through the ChatGPT subscription login.