ui: show Agents first in module chooser

This commit is contained in:
2026-09-14 14:11:39 +08:00
parent 4e33d6ade6
commit 9317d0acc7
4 changed files with 24 additions and 11 deletions

View File

@@ -18,6 +18,16 @@ export type AiModuleDefinition = {
};
export const aiModules: readonly AiModuleDefinition[] = [
{
id: 'cloud_agents',
title: 'Makelore Agents',
subtitle: 'AI 智能体',
description: '打造你想象中的AI助手',
route: '/cloud-agents',
enabled: true,
Icon: Sparkles,
switcherLabel: 'Agents 智能体',
},
{
id: 'programming',
title: 'Makelore Code',
@@ -46,16 +56,6 @@ export const aiModules: readonly AiModuleDefinition[] = [
Icon: Bot,
switcherLabel: 'Robot 机器',
},
{
id: 'cloud_agents',
title: 'Makelore Agents',
subtitle: 'AI 智能体',
description: '打造你想象中的AI助手',
route: '/cloud-agents',
enabled: true,
Icon: Sparkles,
switcherLabel: 'Agents 智能体',
},
];
const moduleAccessKeyById: Record<AiModuleId, ModuleAccessKey> = {