Files
codex/codex-rs/tui
Eric Traut c2d5ea52e1 Keep TUI preferences editable when execution settings are invalid (#56091)
## Why

Saving a local preference could succeed but fail to apply live because reloading the full configuration also resolved execution settings. An unknown `model_provider`, for example, prevented the preference from taking effect.

## What changed

Reload config-panel preferences from the configuration layer stack into `LocalSettings` without rebuilding execution settings. Preserve CLI overrides, loader overrides, cloud configuration, and the existing choice of working directory.

## Testing

Extend the offline remote-session preference test with an unknown `model_provider` override, verifying that automatic recap and paste detection preferences still persist and apply live.

GitOrigin-RevId: 2377a01c77f3cb978a7ee6cd67c1fe89361131fb
2026-10-22 05:51:47 +00:00
..