Warn when saved model defaults are overridden (#42639)

## Why

A model-default config write can succeed even when a higher-priority configuration layer overrides the saved value, leaving the TUI's success message misleading.

## What changed

- Show a warning when saved model, reasoning-effort, or service-tier defaults are overridden.
- Preserve the active conversation's explicit selection while reporting the saved default's effective status.

## Testing

- Cover successful, overridden, and rejected writes against the app server's target config profile.

GitOrigin-RevId: 6720d66a58629447b71cd9363c9e08c1c5b9edc1
This commit is contained in:
Eric Traut authored and copyberry committed 2026-09-04 00:23:45 +00:00
1 parent 0e0f55fc4e
commit 68e9c4a31a
6 files changed
+185 -6

No files matched your search

+1
View File
@@ -225,6 +225,7 @@ mod history_ui;
mod input;
mod loaded_threads;
mod misalignment_policy;
mod model_defaults;
mod pending_interactive_replay;
mod permission_shortcuts;
mod pets;