Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix consent modal pre-selecting a provider not in its own picker list
[._.]/ Adam Eivy9fe3cb3fea88
diff --git a/client/src/components/meatspace/post/WordplayTrainer.jsx b/client/src/components/meatspace/post/WordplayTrainer.jsxindex 569fcd5205..37e6de0685 100644--- a/client/src/components/meatspace/post/WordplayTrainer.jsx+++ b/client/src/components/meatspace/post/WordplayTrainer.jsx@@ -109,8 +109,17 @@ export default function WordplayTrainer({ onBack, config, onConfigUpdate }) {// consent on an assumption the cache is already warm.const isCold = cacheStatus?.[modeId]?.cold ?? true;if (isCold && !primedModes.has(modeId)) {- setFillProviderId(config?.llmDrills?.providerId || '');- setFillModel(config?.llmDrills?.model || '');+ // Only pre-select the saved default if it's actually one of the modal's+ // options. The modal's provider list is API-only (enabledApiProviderFilter+ // excludes slow TUI/CLI providers — the whole point of the consent step),+ // so a saved default of e.g. "claude-code-tui" would otherwise leave the+ // <select> holding a value with no matching <option> — appearing blank+ // while silently carrying that provider through if the user just clicks+ // "Fill Cache & Play" without noticing.+ const savedProviderId = config?.llmDrills?.providerId || '';+ const savedIsSelectable = providers.some(p => p.id === savedProviderId);+ setFillProviderId(savedIsSelectable ? savedProviderId : '');+ setFillModel(savedIsSelectable ? (config?.llmDrills?.model || '') : '');setPendingMode(modeId);return;}