diff --git a/apps/ui/src/components/views/settings-view.tsx b/apps/ui/src/components/views/settings-view.tsx index b10883dd..eb8e6804 100644 --- a/apps/ui/src/components/views/settings-view.tsx +++ b/apps/ui/src/components/views/settings-view.tsx @@ -9,7 +9,6 @@ import { KeyboardMapDialog } from './settings-view/components/keyboard-map-dialo import { DeleteProjectDialog } from './settings-view/components/delete-project-dialog'; import { SettingsNavigation } from './settings-view/components/settings-navigation'; import { ApiKeysSection } from './settings-view/api-keys/api-keys-section'; -import { AIEnhancementSection } from './settings-view/ai-enhancement'; import { PhaseModelsSection } from './settings-view/phase-models'; import { AppearanceSection } from './settings-view/appearance/appearance-section'; import { TerminalSection } from './settings-view/terminal/terminal-section'; @@ -47,8 +46,6 @@ export function SettingsView() { defaultAIProfileId, setDefaultAIProfileId, aiProfiles, - validationModel, - setValidationModel, autoLoadClaudeMd, setAutoLoadClaudeMd, enableSandboxMode, @@ -105,8 +102,6 @@ export function SettingsView() { onPromptCustomizationChange={setPromptCustomization} /> ); - case 'ai-enhancement': - return ; case 'phase-models': return ; case 'appearance': @@ -138,7 +133,6 @@ export function SettingsView() { defaultRequirePlanApproval={defaultRequirePlanApproval} defaultAIProfileId={defaultAIProfileId} aiProfiles={aiProfiles} - validationModel={validationModel} onShowProfilesOnlyChange={setShowProfilesOnly} onDefaultSkipTestsChange={setDefaultSkipTests} onEnableDependencyBlockingChange={setEnableDependencyBlocking} @@ -146,7 +140,6 @@ export function SettingsView() { onDefaultPlanningModeChange={setDefaultPlanningMode} onDefaultRequirePlanApprovalChange={setDefaultRequirePlanApproval} onDefaultAIProfileIdChange={setDefaultAIProfileId} - onValidationModelChange={setValidationModel} /> ); case 'danger': diff --git a/apps/ui/src/components/views/settings-view/ai-enhancement/ai-enhancement-section.tsx b/apps/ui/src/components/views/settings-view/ai-enhancement/ai-enhancement-section.tsx deleted file mode 100644 index 0f8995c4..00000000 --- a/apps/ui/src/components/views/settings-view/ai-enhancement/ai-enhancement-section.tsx +++ /dev/null @@ -1,91 +0,0 @@ -import { Label } from '@/components/ui/label'; -import { Sparkles } from 'lucide-react'; -import { cn } from '@/lib/utils'; -import { useAppStore } from '@/store/app-store'; -import { CLAUDE_MODELS } from '@/components/views/board-view/shared/model-constants'; - -export function AIEnhancementSection() { - const { enhancementModel, setEnhancementModel } = useAppStore(); - - return ( -
-
-
-
- -
-

AI Enhancement

-
-

- Choose the model used when enhancing feature descriptions. -

-
-
-
- -
- {CLAUDE_MODELS.map(({ id, label, description, badge }) => { - const isActive = enhancementModel === id; - return ( - - ); - })} -
-
-
-
- ); -} diff --git a/apps/ui/src/components/views/settings-view/ai-enhancement/index.ts b/apps/ui/src/components/views/settings-view/ai-enhancement/index.ts deleted file mode 100644 index 53c291fa..00000000 --- a/apps/ui/src/components/views/settings-view/ai-enhancement/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { AIEnhancementSection } from './ai-enhancement-section'; diff --git a/apps/ui/src/components/views/settings-view/config/navigation.ts b/apps/ui/src/components/views/settings-view/config/navigation.ts index 1417311b..3d2a79a2 100644 --- a/apps/ui/src/components/views/settings-view/config/navigation.ts +++ b/apps/ui/src/components/views/settings-view/config/navigation.ts @@ -8,7 +8,6 @@ import { Volume2, FlaskConical, Trash2, - Sparkles, Workflow, Plug, MessageSquareText, @@ -27,7 +26,6 @@ export const NAV_ITEMS: NavigationItem[] = [ { id: 'providers', label: 'AI Providers', icon: Bot }, { id: 'mcp-servers', label: 'MCP Servers', icon: Plug }, { id: 'prompts', label: 'Prompt Customization', icon: MessageSquareText }, - { id: 'ai-enhancement', label: 'AI Enhancement', icon: Sparkles }, { id: 'phase-models', label: 'Phase Models', icon: Workflow }, { id: 'appearance', label: 'Appearance', icon: Palette }, { id: 'terminal', label: 'Terminal', icon: SquareTerminal }, diff --git a/apps/ui/src/components/views/settings-view/feature-defaults/feature-defaults-section.tsx b/apps/ui/src/components/views/settings-view/feature-defaults/feature-defaults-section.tsx index c30b15ae..24ebe15b 100644 --- a/apps/ui/src/components/views/settings-view/feature-defaults/feature-defaults-section.tsx +++ b/apps/ui/src/components/views/settings-view/feature-defaults/feature-defaults-section.tsx @@ -12,7 +12,6 @@ import { ScrollText, ShieldCheck, User, - Sparkles, } from 'lucide-react'; import { cn } from '@/lib/utils'; import { @@ -23,7 +22,6 @@ import { SelectValue, } from '@/components/ui/select'; import type { AIProfile } from '@/store/app-store'; -import type { ModelAlias } from '@automaker/types'; type PlanningMode = 'skip' | 'lite' | 'spec' | 'full'; @@ -36,7 +34,6 @@ interface FeatureDefaultsSectionProps { defaultRequirePlanApproval: boolean; defaultAIProfileId: string | null; aiProfiles: AIProfile[]; - validationModel: ModelAlias; onShowProfilesOnlyChange: (value: boolean) => void; onDefaultSkipTestsChange: (value: boolean) => void; onEnableDependencyBlockingChange: (value: boolean) => void; @@ -44,7 +41,6 @@ interface FeatureDefaultsSectionProps { onDefaultPlanningModeChange: (value: PlanningMode) => void; onDefaultRequirePlanApprovalChange: (value: boolean) => void; onDefaultAIProfileIdChange: (value: string | null) => void; - onValidationModelChange: (value: ModelAlias) => void; } export function FeatureDefaultsSection({ @@ -56,7 +52,6 @@ export function FeatureDefaultsSection({ defaultRequirePlanApproval, defaultAIProfileId, aiProfiles, - validationModel, onShowProfilesOnlyChange, onDefaultSkipTestsChange, onEnableDependencyBlockingChange, @@ -64,7 +59,6 @@ export function FeatureDefaultsSection({ onDefaultPlanningModeChange, onDefaultRequirePlanApprovalChange, onDefaultAIProfileIdChange, - onValidationModelChange, }: FeatureDefaultsSectionProps) { // Find the selected profile name for display const selectedProfile = defaultAIProfileId @@ -233,45 +227,6 @@ export function FeatureDefaultsSection({ {/* Separator */}
- {/* Issue Validation Model */} -
-
- -
-
-
- - -
-

- Model used for validating GitHub issues. Opus provides the most thorough analysis, - while Haiku is faster and more cost-effective. -

-
-
- - {/* Separator */} -
- {/* Profiles Only Setting */}