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: stabilize generated user role ordering
Yuneng Jiang1a40a673942a
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex 1fc05ac4653..fa89df39c5f 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -4557,10 +4557,10 @@ class DefaultInternalUserParams(LiteLLMPydanticObjectBase):user_role: (Literal[- LitellmUserRoles.INTERNAL_USER,- LitellmUserRoles.INTERNAL_USER_VIEW_ONLY,LitellmUserRoles.PROXY_ADMIN,LitellmUserRoles.PROXY_ADMIN_VIEW_ONLY,+ LitellmUserRoles.INTERNAL_USER,+ LitellmUserRoles.INTERNAL_USER_VIEW_ONLY,]| None) = Field(diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.tsindex 2fc70883c5e..a75c23da1cf 100644--- a/ui/litellm-dashboard/src/lib/http/schema.d.ts+++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts@@ -24313,7 +24313,7 @@ export interface components {* @description Default role assigned to new users created* @default internal_user_viewer*/- user_role: ("internal_user" | "internal_user_viewer" | "proxy_admin" | "proxy_admin_viewer") | null;+ user_role: ("proxy_admin" | "proxy_admin_viewer" | "internal_user" | "internal_user_viewer") | null;};/*** DefaultTeamSSOParams