From 12d25ec6f816101c2c93af0ee3f5d5326f3f71c1 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Thu, 15 May 2025 16:48:21 +1000 Subject: [PATCH] default to concise tools in GUI (#2475) --- .../settings_v2/response_styles/ResponseStylesSection.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/desktop/src/components/settings_v2/response_styles/ResponseStylesSection.tsx b/ui/desktop/src/components/settings_v2/response_styles/ResponseStylesSection.tsx index 756f7b70fd..2c62965936 100644 --- a/ui/desktop/src/components/settings_v2/response_styles/ResponseStylesSection.tsx +++ b/ui/desktop/src/components/settings_v2/response_styles/ResponseStylesSection.tsx @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react'; import { all_response_styles, ResponseStyleSelectionItem } from './ResponseStyleSelectionItem'; export const ResponseStylesSection = () => { - const [currentStyle, setCurrentStyle] = useState('detailed'); + const [currentStyle, setCurrentStyle] = useState('concise'); useEffect(() => { const savedStyle = localStorage.getItem('response_style'); @@ -12,6 +12,10 @@ export const ResponseStylesSection = () => { } catch (error) { console.error('Error parsing response style:', error); } + } else { + // Set default to concise for new users + localStorage.setItem('response_style', 'concise'); + setCurrentStyle('concise'); } }, []);