diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index 3bb729fe6..dcf66cd06 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -148,11 +148,22 @@ const CreateKey: React.FC = ({ placeholder="Select models" style={{ width: "100%" }} > - {userModels.map((model) => ( - - ))} + + {team && team.models ? ( + team.models.map((model: string) => ( + + )) + ) : ( + userModels.map((model: string) => ( + + )) + )} + +