diff --git a/ui/litellm-dashboard/src/components/team/TeamInfo.tsx b/ui/litellm-dashboard/src/components/team/TeamInfo.tsx index 346686d0193..bc54cac9cc7 100644 --- a/ui/litellm-dashboard/src/components/team/TeamInfo.tsx +++ b/ui/litellm-dashboard/src/components/team/TeamInfo.tsx @@ -1027,7 +1027,21 @@ const TeamInfoView: React.FC = ({ }))} /> - + { + const row = (form.getFieldValue("modelLimits") ?? [])[name] ?? {}; + if (row.model && value == null && row.rpm == null) { + return Promise.reject(new Error("Set at least one of TPM or RPM")); + } + return Promise.resolve(); + }, + }, + ]} + >