feat: restore core admin modules and harden ai model fallback

This commit is contained in:
2026-06-22 01:21:01 +08:00
parent f180fff020
commit 524c027a4a
15 changed files with 1896 additions and 21 deletions
@@ -1,5 +1,6 @@
export const LIGHT_MENU_NAMES = new Set([
'AccountSettings',
'Application',
'ControlCenter',
'AIAgent',
'AIKnowledgeDetail',
@@ -14,10 +15,14 @@ export const LIGHT_MENU_NAMES = new Set([
'MessageCenter',
'MessageList',
'KnowledgeBase',
'LoginLog',
'OrgNode',
'SystemDept',
'SystemDict',
'SystemFileManager',
'SystemLoginLog',
'SystemManagement',
'SystemOrgChart',
'SystemConfig',
'SystemConfigManager',
'SystemMenu',
@@ -38,6 +43,7 @@ const LIGHT_ROUTE_PATH_PREFIXES = [
'/ai-platform/workflow',
'/ai-platform/workflow-runs',
'/agent-chat',
'/application',
'/message/list',
'/message/announcement',
'/message/announcement-list',
@@ -47,6 +53,8 @@ const LIGHT_ROUTE_PATH_PREFIXES = [
'/system/dept',
'/system/dict',
'/system/file-manager',
'/system/login-log',
'/system/org-chart',
'/system/post',
'/system/config',
'/system/menu',