diff --git a/frontend/src/_locales/zh-hans/main.json b/frontend/src/_locales/zh-hans/main.json
index 5cc5177..df9eb06 100644
--- a/frontend/src/_locales/zh-hans/main.json
+++ b/frontend/src/_locales/zh-hans/main.json
@@ -125,5 +125,9 @@
"Writer, Translator, Role-playing": "写作,翻译,角色扮演",
"Chinese Kongfu": "情境冒险",
"Allow external access to the API (service must be restarted)": "允许外部访问API (必须重启服务)",
- "Custom": "自定义"
+ "Custom": "自定义",
+ "Reset All Configs": "重置所有配置",
+ "Cancel": "取消",
+ "Confirm": "确认",
+ "Are you sure you want to reset all configs? This will obtain the latest preset configs, but will override your custom configs and cannot be undone.": "你确定要重置所有配置吗?这会获取最新的预设配置,但会覆盖你的自定义配置,并且无法撤销"
}
\ No newline at end of file
diff --git a/frontend/src/pages/Configs.tsx b/frontend/src/pages/Configs.tsx
index 7c6b222..1684bc4 100644
--- a/frontend/src/pages/Configs.tsx
+++ b/frontend/src/pages/Configs.tsx
@@ -1,5 +1,26 @@
-import { Dropdown, Input, Label, Option, Select, Switch } from '@fluentui/react-components';
-import { AddCircle20Regular, DataUsageSettings20Regular, Delete20Regular, Save20Regular } from '@fluentui/react-icons';
+import {
+ Button,
+ Dialog,
+ DialogActions,
+ DialogBody,
+ DialogContent,
+ DialogSurface,
+ DialogTitle,
+ DialogTrigger,
+ Dropdown,
+ Input,
+ Label,
+ Option,
+ Select,
+ Switch
+} from '@fluentui/react-components';
+import {
+ AddCircle20Regular,
+ ArrowReset20Regular,
+ DataUsageSettings20Regular,
+ Delete20Regular,
+ Save20Regular
+} from '@fluentui/react-icons';
import React, { FC } from 'react';
import { Section } from '../components/Section';
import { Labeled } from '../components/Labeled';
@@ -680,6 +701,31 @@ export const Configs: FC = observer(() => {
commonStore.deleteModelConfig(selectedIndex);
updateSelectedIndex(Math.min(selectedIndex, commonStore.modelConfigs.length - 1));
}} />
+