feat: new dbgpts modules (#1910)

Co-authored-by: 途杨 <tuyang.yhj@antgroup.com>
Co-authored-by: lhwan <1017484907@qq.com>
This commit is contained in:
明天
2024-08-28 21:31:42 +08:00
committed by GitHub
parent bb5d2d1f3d
commit d7a893e1a7
289 changed files with 3533 additions and 901 deletions

View File

@@ -56,18 +56,24 @@ function ConstructLayout({ children }: { children: React.ReactNode }) {
icon: <PartitionOutlined />,
path: '/knowledge',
},
{
key: 'agent',
name: t('Plugins'),
path: '/agent',
icon: <BuildOutlined />,
},
// {
// key: 'agent',
// name: t('Plugins'),
// path: '/agent',
// icon: <BuildOutlined />,
// },
{
key: 'prompt',
name: t('Prompt'),
icon: <MessageOutlined />,
path: '/prompt',
},
{
key: 'dbgpts',
name: t('dbgpts_community'),
path: '/dbgpts',
icon: <BuildOutlined />,
},
];
const router = useRouter();
const activeKey = router.pathname.split('/')[2];