diff --git a/ui/litellm-dashboard/src/components/team/TeamInfo.tsx b/ui/litellm-dashboard/src/components/team/TeamInfo.tsx index ec5bcc5b128..1031ceb9eb5 100644 --- a/ui/litellm-dashboard/src/components/team/TeamInfo.tsx +++ b/ui/litellm-dashboard/src/components/team/TeamInfo.tsx @@ -19,8 +19,8 @@ import { mapEmptyStringToNull } from "@/utils/keyUpdateUtils"; import { isProxyAdminRole } from "@/utils/roles"; import { EditOutlined, InfoCircleOutlined, SaveOutlined } from "@ant-design/icons"; import { ArrowLeftIcon } from "@heroicons/react/outline"; -import { Badge, Card, Grid, Text, TextInput, Title } from "@tremor/react"; -import { Button, Collapse, Form, Input, Select, Switch, Tabs, Tooltip } from "antd"; +import { Accordion, AccordionBody, AccordionHeader, Badge, Card, Grid, Text, TextInput, Title } from "@tremor/react"; +import { Button, Form, Input, Select, Switch, Tabs, Tooltip } from "antd"; import MessageManager from "@/components/molecules/message_manager"; import { CheckIcon, CopyIcon } from "lucide-react"; import React, { useEffect, useMemo, useState } from "react"; @@ -889,81 +889,76 @@ const TeamInfoView: React.FC = ({ - Team Member Settings, - children: ( -
-

- Optional defaults applied when members join this team. All fields can be overridden per member. -

- - Default Model Access{" "} - - - - - } - name="default_team_member_models" - > - prev.models !== cur.models}> - {({ getFieldValue }) => { - const teamModels = getFieldValue("models") || info.models || []; - return ( - form.setFieldValue("default_team_member_models", values)} + options={teamModels.map((m: string) => ({ label: m, value: m }))} + /> + ); + }} + + + + + + + form.setFieldValue("team_member_budget_duration", value)} + value={form.getFieldValue("team_member_budget_duration")} + /> + + + + + + + + + + + +