[eric] default-model + thinking-mode settings overhaul: Settings dropdown mirrors the in-session picker (provider-grouped from

state.models.byProvider, disambiguates same-named models by · Provider), toolbar now honors the stored default_model instead of snapping to
  stale Redux initial 'sonnet' and re-syncs on every reopen so last-used picks don't leak, smart fallback per priority Anthropic > OpenAI >
  Gemini > OpenSwarm Pro > OpenSwarm with Snackbar warning when the user's default becomes unreachable, new Default thinking mode setting
  (Auto/Off/Low/Medium/High) added to AppSettings and threaded into AgentSession on launch, onboarding flow for user intuitive-ness slight tweaks
This commit is contained in:
ciregenz
2026-04-20 14:56:09 -07:00
parent 301b0f7707
commit b9f7698b0c
10 changed files with 305 additions and 17 deletions
@@ -40,6 +40,7 @@ export interface AppSettings {
default_model: string;
default_mode: string;
default_max_turns: number | null;
default_thinking_level: 'off' | 'low' | 'medium' | 'high' | 'auto';
zoom_sensitivity: number;
theme: 'light' | 'dark';
new_agent_shortcut: string;
@@ -92,6 +93,7 @@ const initialState: SettingsState = {
default_model: 'sonnet',
default_mode: 'agent',
default_max_turns: null,
default_thinking_level: 'auto',
zoom_sensitivity: 50,
theme: 'dark',
new_agent_shortcut: 'Meta+l',