diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index f869bd4237..4920f560c8 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -14791,7 +14791,8 @@ "supports_function_calling": true, "supports_parallel_function_calling": true, "supports_system_messages": true, - "supports_tool_choice": true + "supports_tool_choice": true, + "supports_reasoning": true }, "lambda_ai/deepseek-r1-0528": { "max_tokens": 131072, @@ -14804,7 +14805,8 @@ "supports_function_calling": true, "supports_parallel_function_calling": true, "supports_system_messages": true, - "supports_tool_choice": true + "supports_tool_choice": true, + "supports_reasoning": true }, "lambda_ai/deepseek-r1-671b": { "max_tokens": 131072, @@ -14817,7 +14819,8 @@ "supports_function_calling": true, "supports_parallel_function_calling": true, "supports_system_messages": true, - "supports_tool_choice": true + "supports_tool_choice": true, + "supports_reasoning": true }, "lambda_ai/deepseek-v3-0324": { "max_tokens": 131072, @@ -15039,7 +15042,8 @@ "supports_function_calling": true, "supports_parallel_function_calling": true, "supports_system_messages": true, - "supports_tool_choice": true + "supports_tool_choice": true, + "supports_reasoning": true }, "voyage/voyage-01": { "max_tokens": 4096, diff --git a/ui/litellm-dashboard/src/components/team/team_info.tsx b/ui/litellm-dashboard/src/components/team/team_info.tsx index 402f0b26e9..e72b6330c3 100644 --- a/ui/litellm-dashboard/src/components/team/team_info.tsx +++ b/ui/litellm-dashboard/src/components/team/team_info.tsx @@ -30,6 +30,7 @@ import { teamMemberUpdateCall, Member, teamUpdateCall, + getGuardrailsList, } from "@/components/networking"; import { Button, Form, Input, Select, message, Tooltip } from "antd"; import { InfoCircleOutlined } from "@ant-design/icons"; @@ -147,6 +148,7 @@ const TeamInfoView: React.FC = ({ const [mcpAccessGroups, setMcpAccessGroups] = useState([]); const [mcpAccessGroupsLoaded, setMcpAccessGroupsLoaded] = useState(false); const [copiedStates, setCopiedStates] = useState>({}) + const [guardrailsList, setGuardrailsList] = useState([]); console.log("userModels in team info", userModels); @@ -182,6 +184,23 @@ const TeamInfoView: React.FC = ({ } }; + useEffect(() => { + const fetchGuardrails = async () => { + try { + if (!accessToken) return; + const response = await getGuardrailsList(accessToken); + const guardrailNames = response.guardrails.map( + (g: { guardrail_name: string }) => g.guardrail_name + ); + setGuardrailsList(guardrailNames); + } catch (error) { + console.error("Failed to fetch guardrails:", error); + } + }; + + fetchGuardrails(); + }, [accessToken]); + const handleMemberCreate = async (values: any) => { try { if (accessToken == null) return; @@ -673,13 +692,14 @@ const TeamInfoView: React.FC = ({