Hi Andreas
I wanted to test the AI assistant connected to Codex CLI but I got this error
Error: Invalid request: unknown variant reject, expected one of untrusted, on-failure, on-request, granular, never
This seems to happen during the approval/permission handling for Codex requests.
What I checked:
-
Codex CLI is installed and working (Codex CLI 0.118.0 and latest BTT version
-
I’m logged in successfully
My AI assisted guess is that an approval-related value being sent to Codex is not in the format Codex expects. It looks like
reject may be getting passed where Codex expects one of its supported approval modes.
Could you check whether the codex-cli-openai integration is sending an unsupported approval-policy value, and whether
there is a recommended setting/workaround on the BTT side?
Thanks for your amazing work and possible help!