refactor: Reorganize sidebar navigation and add personal settings route
This commit is contained in:
@@ -18,6 +18,8 @@ const CLAUDE_HEADER = {
|
||||
|
||||
const CLAUDE_DEFAULT_MAX_TOKENS = {
|
||||
'default': 8192,
|
||||
"claude-3-haiku-20240307": 4096,
|
||||
"claude-3-opus-20240229": 4096,
|
||||
'claude-3-7-sonnet-20250219-thinking': 8192,
|
||||
}
|
||||
|
||||
|
||||
@@ -18,9 +18,6 @@ const Setting = () => {
|
||||
const [tabActiveKey, setTabActiveKey] = useState('1');
|
||||
let panes = [
|
||||
{
|
||||
tab: t('个人设置'),
|
||||
content: <PersonalSetting />,
|
||||
itemKey: 'personal',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -61,7 +58,7 @@ const Setting = () => {
|
||||
if (tab) {
|
||||
setTabActiveKey(tab);
|
||||
} else {
|
||||
onChangeTab('personal');
|
||||
onChangeTab('operation');
|
||||
}
|
||||
}, [location.search]);
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user