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
refactor(types): import team and user table models from litellm.models (#45740)
nate-berri3fafd0062af3
diff --git a/litellm/integrations/prometheus.py b/litellm/integrations/prometheus.pyindex 2d1ef62fde3..8f4d1df2662 100644--- a/litellm/integrations/prometheus.py+++ b/litellm/integrations/prometheus.py@@ -49,12 +49,10 @@ from litellm.litellm_core_utils.service_tier_utils import (get_service_tier_from_standard_logging_payload,)from litellm.models.end_user import LiteLLM_EndUserTable-from litellm.proxy._types import (- LiteLLM_DeletedVerificationToken,- LiteLLM_TeamTable,- LiteLLM_UserTable,- UserAPIKeyAuth,-)+from litellm.models.team import LiteLLM_TeamTable+from litellm.models.user import LiteLLM_UserTable+from litellm.models.verification_token import LiteLLM_DeletedVerificationToken+from litellm.proxy._types import UserAPIKeyAuthfrom litellm.proxy.common_utils.user_api_key_cache import AUTH_OBJECTS_TARGETfrom litellm.repositories.base_repository import BaseRepositoryfrom litellm.repositories.budget_repository import BudgetRepositorydiff --git a/litellm/types/proxy/management_endpoints/team_endpoints.py b/litellm/types/proxy/management_endpoints/team_endpoints.pyindex 6731b826ebd..796bcae37bc 100644--- a/litellm/types/proxy/management_endpoints/team_endpoints.py+++ b/litellm/types/proxy/management_endpoints/team_endpoints.py@@ -2,12 +2,10 @@ from typing import Any, Final, Literalfrom pydantic import ConfigDict, Field, field_validator, model_validator+from litellm.models.team import LiteLLM_DeletedTeamTable, LiteLLM_TeamTable, Member+from litellm.models.team_membership import LiteLLM_TeamMembershipfrom litellm.proxy._types import (KeyManagementRoutes,- LiteLLM_DeletedTeamTable,- LiteLLM_TeamMembership,- LiteLLM_TeamTable,- Member,MemberDeleteRequest,)from litellm.proxy.common_utils.timezone_utils import budget_duration_error