mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
feat(ui): add Routing Groups entry to sidebar
This commit is contained in:
parent
9b70d1e9c8
commit
a150f2c544
1 changed files with 10 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ import {
|
|||
ToolOutlined,
|
||||
TagsOutlined,
|
||||
AuditOutlined,
|
||||
BranchesOutlined,
|
||||
} from "@ant-design/icons";
|
||||
// import {
|
||||
// all_admin_roles,
|
||||
|
|
@ -105,6 +106,8 @@ const routeFor = (slug: string): string => {
|
|||
return "guardrails";
|
||||
case "policies":
|
||||
return "policies";
|
||||
case "routing-groups":
|
||||
return "routing-groups";
|
||||
|
||||
// tools
|
||||
case "mcp-servers":
|
||||
|
|
@ -168,6 +171,13 @@ const menuItems: MenuItemCfg[] = [
|
|||
icon: <BlockOutlined style={{ fontSize: 18 }} />,
|
||||
roles: rolesWithWriteAccess,
|
||||
},
|
||||
{
|
||||
key: "29",
|
||||
page: "routing-groups",
|
||||
label: "Routing Groups",
|
||||
icon: <BranchesOutlined style={{ fontSize: 18 }} />,
|
||||
roles: rolesWithWriteAccess,
|
||||
},
|
||||
{
|
||||
key: "12",
|
||||
page: "new_usage",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue