mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix auth checks
This commit is contained in:
parent
8bd2081dec
commit
ff33ed020c
2 changed files with 0 additions and 4 deletions
|
@ -11,7 +11,6 @@ Run checks for:
|
||||||
import asyncio
|
import asyncio
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
import traceback
|
|
||||||
from typing import TYPE_CHECKING, Any, Dict, List, Literal, Optional, cast
|
from typing import TYPE_CHECKING, Any, Dict, List, Literal, Optional, cast
|
||||||
|
|
||||||
from fastapi import Request, status
|
from fastapi import Request, status
|
||||||
|
@ -23,7 +22,6 @@ from litellm.caching.caching import DualCache
|
||||||
from litellm.caching.dual_cache import LimitedSizeOrderedDict
|
from litellm.caching.dual_cache import LimitedSizeOrderedDict
|
||||||
from litellm.litellm_core_utils.get_llm_provider_logic import get_llm_provider
|
from litellm.litellm_core_utils.get_llm_provider_logic import get_llm_provider
|
||||||
from litellm.proxy._types import (
|
from litellm.proxy._types import (
|
||||||
DB_CONNECTION_ERROR_TYPES,
|
|
||||||
RBAC_ROLES,
|
RBAC_ROLES,
|
||||||
CallInfo,
|
CallInfo,
|
||||||
LiteLLM_EndUserTable,
|
LiteLLM_EndUserTable,
|
||||||
|
@ -45,7 +43,6 @@ from litellm.proxy.auth.route_checks import RouteChecks
|
||||||
from litellm.proxy.route_llm_request import route_request
|
from litellm.proxy.route_llm_request import route_request
|
||||||
from litellm.proxy.utils import PrismaClient, ProxyLogging, log_db_metrics
|
from litellm.proxy.utils import PrismaClient, ProxyLogging, log_db_metrics
|
||||||
from litellm.router import Router
|
from litellm.router import Router
|
||||||
from litellm.types.services import ServiceTypes
|
|
||||||
|
|
||||||
from .auth_checks_organization import organization_role_based_access_check
|
from .auth_checks_organization import organization_role_based_access_check
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ from litellm.proxy.auth.auth_checks import (
|
||||||
)
|
)
|
||||||
from litellm.proxy.auth.auth_exception_handler import UserAPIKeyAuthExceptionHandler
|
from litellm.proxy.auth.auth_exception_handler import UserAPIKeyAuthExceptionHandler
|
||||||
from litellm.proxy.auth.auth_utils import (
|
from litellm.proxy.auth.auth_utils import (
|
||||||
_get_request_ip_address,
|
|
||||||
get_end_user_id_from_request_body,
|
get_end_user_id_from_request_body,
|
||||||
get_request_route,
|
get_request_route,
|
||||||
is_pass_through_provider_route,
|
is_pass_through_provider_route,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue