import { useSettings } from '@/hooks/useSettings' import { useVersionCheck } from '@/hooks/useVersionCheck' import { Loader2 } from 'lucide-react' import { Label } from '@/components/ui/label' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select' import { Switch } from '@/components/ui/switch' export function GeneralSettings() { const { preferences, isLoading, updateSettings, isUpdating } = useSettings() const { data: versionInfo, isLoading: isVersionLoading } = useVersionCheck() if (isLoading) { return (
Choose your preferred color scheme
Show only your messages and the assistant's replies. Hides tool calls, reasoning, diffs, and agent details.
Automatically scroll to bottom when new messages arrive
Display model reasoning and thought process
Automatically expand tool call details by default
Show file diffs expanded by default for edit operations