fix(model-aliases): default thinking effort to unset

This commit is contained in:
lzt404 committed 2026-08-03 22:58:51 +08:00
1 parent 8e932067b7
commit 83286da7d9
1 file changed
+3 -3
+3 -3
View File
@@ -144,7 +144,7 @@ export function ThinkingAliasesPage() {
const [thinkingSources, setThinkingSources] = useState<ThinkingAliasSource[]>([]);
const [speedSources, setSpeedSources] = useState<ThinkingAliasSource[]>([]);
const [selectedSourceId, setSelectedSourceId] = useState('');
const [effort, setEffort] = useState('xhigh');
const [effort, setEffort] = useState('');
const [fastEnabled, setFastEnabled] = useState(false);
const [customEffortOpen, setCustomEffortOpen] = useState(false);
const [alias, setAlias] = useState('');
@@ -253,7 +253,7 @@ export function ThinkingAliasesPage() {
setEffort('');
setFastEnabled(source.supportsFast);
} else {
setEffort('xhigh');
setEffort('');
setFastEnabled(false);
}
setCustomEffortOpen(false);
@@ -439,7 +439,7 @@ export function ThinkingAliasesPage() {
&& nextSearch.trim().toLowerCase() !== selectedSource.model.trim().toLowerCase()
) {
setSelectedSourceId('');
setEffort('xhigh');
setEffort('');
setFastEnabled(false);
setCustomEffortOpen(false);
setAlias('');