fix: wire ai platform run and codex chat

This commit is contained in:
2026-06-13 11:45:03 +08:00
parent af879e4607
commit 9632c1b4a6
7 changed files with 526 additions and 24 deletions
+11
View File
@@ -62,6 +62,17 @@ function createLightAiMenuRoute(
}
const LIGHT_AI_PLATFORM_MENU_ROUTES = [
createLightAiMenuRoute({
component: '/_core/agent-chat/index',
meta: {
fullPathKey: true,
icon: 'lucide:code',
order: 25,
title: 'menu-title.codex',
},
name: 'CodexAgentChat',
path: '/agent-chat/codex',
}),
createLightAiMenuRoute({
component: '/ai-platform/model/index',
meta: {
@@ -7,6 +7,7 @@ export const LIGHT_MENU_NAMES = new Set([
'AIWorkflowRuns',
'AnnouncementList',
'AnnouncementManage',
'CodexAgentChat',
'KnowledgeBase',
'PageRenderMainHome',
'SystemManagement',
@@ -23,6 +24,7 @@ const LIGHT_ROUTE_PATH_PREFIXES = [
'/ai-platform/model',
'/ai-platform/workflow',
'/ai-platform/workflow-runs',
'/agent-chat',
'/message/announcement',
'/page-render/main_home',
'/system/menu',