mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-12 12:37:14 +00:00
feat: new dbgpts modules (#1910)
Co-authored-by: 途杨 <tuyang.yhj@antgroup.com> Co-authored-by: lhwan <1017484907@qq.com>
This commit is contained in:
@@ -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];
|
||||
|
Reference in New Issue
Block a user