mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
add Evals [Beta] nav item after Guardrails in sidebar
This commit is contained in:
parent
69c1eab962
commit
897f65cd4f
1 changed files with 11 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ import {
|
|||
UserOutlined,
|
||||
} from "@ant-design/icons";
|
||||
import type { MenuProps } from "antd";
|
||||
import { ConfigProvider, Layout, Menu } from "antd";
|
||||
import { ConfigProvider, Layout, Menu, Tag } from "antd";
|
||||
import { useMemo } from "react";
|
||||
import { all_admin_roles, internalUserRoles, isAdminRole, isUserTeamAdminForAnyTeam, rolesWithWriteAccess } from "../utils/roles";
|
||||
import NewBadge from "./common_components/NewBadge";
|
||||
|
|
@ -145,6 +145,16 @@ const menuGroups: MenuGroup[] = [
|
|||
label: "Guardrails",
|
||||
icon: <SafetyOutlined />,
|
||||
},
|
||||
{
|
||||
key: "evals",
|
||||
page: "evals",
|
||||
label: (
|
||||
<span className="flex items-center gap-2">
|
||||
Evals <Tag color="blue" style={{ fontSize: 10, padding: "0 4px", lineHeight: "16px" }}>Beta</Tag>
|
||||
</span>
|
||||
),
|
||||
icon: <ExperimentOutlined />,
|
||||
},
|
||||
{
|
||||
key: "policies",
|
||||
page: "policies",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue