The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix adding teams / orgs on litellm ui (#8776)
Ishaan Jaff40f9f5e6d8ae
diff --git a/ui/litellm-dashboard/src/components/teams.tsx b/ui/litellm-dashboard/src/components/teams.tsxindex 0cd35259581..758b83d5e48 100644--- a/ui/litellm-dashboard/src/components/teams.tsx+++ b/ui/litellm-dashboard/src/components/teams.tsx@@ -285,6 +285,7 @@ const Teams: React.FC<TeamProps> = ({}console.log(`response for team create call: ${response}`);message.success("Team created");+ form.resetFields();setIsTeamModalVisible(false);}} catch (error) {@@ -613,14 +614,35 @@ const Teams: React.FC<TeamProps> = ({<TextInput placeholder="" /></Form.Item><Form.Item- label="Organization"+ label={+ <span>+ Organization{' '}+ <Tooltip title={+ <span>+ Organizations can have multiple teams. Learn more about{' '}+ <a+ href="https://docs.litellm.ai/docs/proxy/user_management_heirarchy"+ target="_blank"+ rel="noopener noreferrer"+ style={{ color: '#1890ff', textDecoration: 'underline' }}+ onClick={(e) => e.stopPropagation()}+ >+ user management hierarchy+ </a>+ </span>+ }>+ <InfoCircleOutlined style={{ marginLeft: '4px' }} />+ </Tooltip>+ </span>+ }name="organization_id"initialValue={currentOrg ? currentOrg.organization_id : null}className="mt-8"><Select2showSearch- placeholder="Search or select a team"+ allowClear+ placeholder="Search or select an Organization"onChange={(value) => {form.setFieldValue('organization_id', value);setCurrentOrgForCreateTeam(organizations?.find((org) => org.organization_id === value) || null);