The client now trusts the backend’s authoritative model ID instead of overriding it with stale conversation-local defaults, and persists every model/mode switch to global settings so the home page and other views reflect the user’s actual choice.
Corrects UI state desynchronization by prioritizing backend model authority over stale local defaults, and ensures all model/mode switches are persisted globally across app views.
Users will no longer see the interface revert to an old model after switching conversations, eliminating confusion about which model is actually running. By aligning the frontend display with the backend session state and saving choices globally, developers and operators get predictable behavior without manual workarounds. This reduces support tickets around model switching issues and prevents silent mismatches between what users select and what gets executed. Watch for edge cases during the initial pre-handshake phase where the fallback to local defaults still applies, and verify that multi-device sync does not overwrite these newly persisted preferences.