From ff866aae7bf5964a61fc4ca5c81c9524ba83ea69 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 1 Oct 2025 18:30:34 -0700 Subject: [PATCH] feat(create_key_button.tsx): add tpm/rpm rate limit type options to UI allows user to set the type of tpm/rpm limit they're trying to set --- .../organisms/create_key_button.tsx | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/ui/litellm-dashboard/src/components/organisms/create_key_button.tsx b/ui/litellm-dashboard/src/components/organisms/create_key_button.tsx index dc523da7667..0ab8b25c1fe 100644 --- a/ui/litellm-dashboard/src/components/organisms/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/organisms/create_key_button.tsx @@ -810,6 +810,46 @@ const CreateKey: React.FC = ({ > + + TPM Rate Limit Type {' '} + + + + + } + name="tpm_limit_type" + initialValue="default" + className="mt-4" + > + + = ({ > + + RPM Rate Limit Type {' '} + + + + + } + name="rpm_limit_type" + initialValue="default" + className="mt-4" + > + +