feat: Add Gemini safety settings configuration support (close #703)

This commit is contained in:
1808837298@qq.com
2025-02-26 16:54:43 +08:00
parent f451268830
commit e19b244e73
7 changed files with 267 additions and 22 deletions

View File

@@ -9,6 +9,7 @@ import OtherSetting from '../../components/OtherSetting';
import PersonalSetting from '../../components/PersonalSetting';
import OperationSetting from '../../components/OperationSetting';
import RateLimitSetting from '../../components/RateLimitSetting.js';
import ModelSetting from '../../components/ModelSetting.js';
const Setting = () => {
const { t } = useTranslation();
@@ -34,6 +35,11 @@ const Setting = () => {
content: <RateLimitSetting />,
itemKey: 'ratelimit',
});
panes.push({
tab: t('模型相关设置'),
content: <ModelSetting />,
itemKey: 'models',
});
panes.push({
tab: t('系统设置'),
content: <SystemSetting />,