Skip to content

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]

fix: align DefaultInternalUserParams Pydantic default with runtime fallback

Ryan Crabbe6970e1000c6f
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index b7ac4212cbd..8bc77d300c6 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -4262,7 +4262,7 @@ class DefaultInternalUserParams(LiteLLMPydanticObjectBase):
LitellmUserRoles.PROXY_ADMIN_VIEW_ONLY,
]
] = Field(
- default=LitellmUserRoles.INTERNAL_USER,
+ default=LitellmUserRoles.INTERNAL_USER_VIEW_ONLY,
description="Default role assigned to new users created",
)
max_budget: Optional[float] = Field(