更新至 v0.4.0_20251229 版本

This commit is contained in:
2025-12-29 23:23:57 +08:00
parent 6e09d8ec55
commit 8415ea17d1
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ const App: React.FC = () => {
const [sessions, setSessions] = useState<ChatSession[]>([]);
const [currentSessionId, setCurrentSessionId] = useState<string | null>(null);
const [selectedScenario, setSelectedScenario] = useState<ChatScenario>(ChatScenario.GENERAL);
const [selectedMode, setSelectedMode] = useState<ChatMode>(ChatMode.STANDARD);
const [selectedMode, setSelectedMode] = useState<ChatMode>(ChatMode.FAST);
const [replyLanguage, setReplyLanguage] = useState<string>('system'); // 'system', 'auto', or specific language code
const [input, setInput] = useState('');
const [activeView, setActiveView] = useState<'home' | 'chat' | 'tools' | 'settings'>('home');
@@ -765,9 +765,9 @@ const App: React.FC = () => {
<div className="flex items-center space-x-1 bg-slate-100 dark:bg-slate-800 p-1 rounded-lg mr-2 overflow-x-auto max-w-[130px] sm:max-w-none no-scrollbar">
{[
{ mode: ChatMode.STANDARD, label: t.modeStandard, color: 'text-blue-600 dark:text-blue-400' },
{ mode: ChatMode.FAST, label: t.modeFast, color: 'text-green-600 dark:text-green-400' },
{ mode: ChatMode.DEEP, label: t.modeDeep, color: 'text-purple-600 dark:text-purple-400' },
{ mode: ChatMode.FAST, label: t.modeFast, color: 'text-green-600 dark:text-green-400' }
{ mode: ChatMode.STANDARD, label: t.modeStandard, color: 'text-blue-600 dark:text-blue-400' }
].map(m => (
<button
key={m.mode}

Binary file not shown.