mirror of
https://github.com/open-webui/computer.git
synced 2026-11-05 01:17:24 +00:00
[GH-ISSUE #169] bug: Codex Auto approval mode fails because on-failure is no longer supported #89
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/computer#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AmarBego on GitHub (Jul 24, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/169
Using Codex with approval mode Auto causes every chat request to fail.
Versions
Error :
Invalid request: unknown variant on-failure, expected one of untrusted, on-request, granular, neverSteps to reproduce
cptr/utils/agents/codex.pycurrently maps Auto to the removedon-failurepolicy:return {"ask": "on-request", "auto": "on-failure", "full": "never"}.get(value, "on-failure")
Codex 0.145.0 only accepts:
a workaround seems to be
Using approval mode Ask works because it maps to on-request.
Locally changing Auto and the fallback from on-failure to on-request also fixes the problem. so i guess map Auto to a currently supported Codex approval policy, likely on-request, and add a compatibility test covering the values accepted by current Codex app-server versions.
@owui-terminator[bot] commented on GitHub (Jul 24, 2026):
⚠️ Missing Issue Title Prefix
@AmarBego, your issue title is missing a categorising prefix (e.g.
bug:,feat:,docs:).Please update the title to lead with one of:
Example:
bug: Login fails when the password contains special characters@tjbck commented on GitHub (Aug 2, 2026):
Should be addressed!