Files
PaperClipAI/packages
DottaandClaude Fable 5 8c46620678 Fall back to Codex CLI when ACP rejects session configuration
A codex_local agent configured with a manual model id (e.g. gpt-5.5-pro)
failed every ACP-lane run with acpx_session_config_failed: codex-acp
validates session/set_config_option values against its internal model
list and rejects ids it does not advertise (ACP -32602), even though the
Codex CLI lane accepts manual model ids via --model.

The existing ACP->CLI fallback only covered thrown startup errors, not
structured failed results from the configure_session phase. Auto-selected
ACP now falls back to the CLI lane when the ACP server rejects session
configuration, preserving the configured model/effort/fast-mode via
startup args. Explicit engine=acp remains strict and fails loudly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 13:33:50 +00:00
..