diff --git a/frontend/src/i18n/locales/en/aiops.ts b/frontend/src/i18n/locales/en/aiops.ts
index b825f85..67e7ebf 100644
--- a/frontend/src/i18n/locales/en/aiops.ts
+++ b/frontend/src/i18n/locales/en/aiops.ts
@@ -58,9 +58,7 @@ export default {
},
config: {
- quickPresets: 'Quick presets',
- presetCustom: 'Custom',
- presetHint: 'DeepSeek official picks; custom accepts any OpenAI-compatible endpoint',
+ advanced: 'Advanced',
providerSelectHint: 'Pick a provider to autofill endpoint and model',
enabled: 'Enable AI analysis',
enabledHint: 'When off, Analyze returns a clear "not enabled" message',
diff --git a/frontend/src/i18n/locales/zh/aiops.ts b/frontend/src/i18n/locales/zh/aiops.ts
index 472ab77..b8b5879 100644
--- a/frontend/src/i18n/locales/zh/aiops.ts
+++ b/frontend/src/i18n/locales/zh/aiops.ts
@@ -58,9 +58,7 @@ export default {
},
config: {
- quickPresets: '快捷预设',
- presetCustom: '自定义',
- presetHint: 'DeepSeek 官方推荐;自定义可手填任意 OpenAI 兼容端点',
+ advanced: '高级设置',
providerSelectHint: '选择供应商自动填入端点与推荐模型',
enabled: '启用 AI 分析',
enabledHint: '关闭后「开始分析」会直接提示未启用,不影响其它功能',
diff --git a/frontend/src/pages/aiops/index.tsx b/frontend/src/pages/aiops/index.tsx
index 883b7ae..2013fe7 100644
--- a/frontend/src/pages/aiops/index.tsx
+++ b/frontend/src/pages/aiops/index.tsx
@@ -518,34 +518,6 @@ export default function AiopsPage() {
-
-
-
-
- {LLM_PROVIDERS.filter(p => p.id === 'deepseek')[0].models.slice(0, 2).reverse().concat([]).map(m => (
-
- ))}
-
-
-
{t('config.presetHint')}
-
-
-
@@ -581,6 +553,7 @@ export default function AiopsPage() {
{t('config.modelHint')}
+ {matchProvider(config.baseUrl) === 'custom' && (
+ )}
+
+ {t('config.advanced')}
+
@@ -648,6 +625,8 @@ export default function AiopsPage() {
/>
{t('config.redactExtraHint')}
+
+
{/* 顺序按实际操作流:先「测试连接」确认能通,再「保存配置」 */}
diff --git a/frontend/src/router/routes.tsx b/frontend/src/router/routes.tsx
index 7c5a9ee..b78c55e 100644
--- a/frontend/src/router/routes.tsx
+++ b/frontend/src/router/routes.tsx
@@ -73,7 +73,7 @@ export const routes: AppRoute[] = [
{ path: '/logs', component: LogsPage, auth: true, meta: { title: 'menu.logs', icon: ScrollText, order: 5 } },
{ path: '/analysis', component: AnalysisPage, auth: true, meta: { title: 'menu.analysis', icon: BarChart3, order: 6, adminOnly: true, proOnly: true } },
// 智能运维:AI 日志分析。紧跟日志分析,便于"先看统计、再问 AI"的动线
- { path: '/aiops', component: AiopsPage, auth: true, meta: { title: 'menu.aiops', icon: Sparkles, order: 6, adminOnly: true, proOnly: true } },
+ { path: '/aiops', component: AiopsPage, auth: true, meta: { title: 'menu.aiops', icon: Sparkles, order: 7.5, adminOnly: true, proOnly: true } },
// ── 告警:独立入口(要盯的,不能被折叠) ──
// 告警仅管理员:普通用户按「查询授权」只看指定的日志(菜单只剩日志查询)。