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
feat: make model selection optional when creating virtual keys (#22826)
Ishaan Jaffe3810b4009f0
diff --git a/ui/litellm-dashboard/src/components/organisms/create_key_button.tsx b/ui/litellm-dashboard/src/components/organisms/create_key_button.tsxindex 19a07c49a3d..c54725bd5a5 100644--- a/ui/litellm-dashboard/src/components/organisms/create_key_button.tsx+++ b/ui/litellm-dashboard/src/components/organisms/create_key_button.tsx@@ -772,21 +772,17 @@ const CreateKey: React.FC<CreateKeyProps> = ({ team, teams, data, addKey }) => {label={<span>Models{" "}- <Tooltip title="Select which models this key can access. Choose 'All Team Models' to grant access to all models available to the team">+ <Tooltip title="Select which models this key can access. Choose 'All Team Models' to grant access to all models available to the team. Leave empty to allow access to all models."><InfoCircleOutlined style={{ marginLeft: "4px" }} /></Tooltip></span>}name="models"- rules={- keyType === "management" || keyType === "read_only"- ? []- : [{ required: true, message: "Please select a model" }]- }+ rules={[]}help={keyType === "management" || keyType === "read_only"? "Models field is disabled for this key type"- : "required"+ : "optional - leave empty to allow access to all models"}className="mt-4">