mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-18 15:48:04 +02:00
[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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user