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]

rename type

Ishaan Jaffc364d311b9c9
diff --git a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py
index e62eea17e6c..e36a36d5285 100644
--- a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py
+++ b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py
@@ -37,7 +37,7 @@ from litellm.proxy.auth.user_api_key_auth import user_api_key_auth
from .streaming_handler import chunk_processor
from .success_handler import PassThroughEndpointLogging
-from .types import EndpointType, PassthroughStandardLoggingObject
+from .types import EndpointType, PassthroughStandardLoggingPayload
router = APIRouter()
@@ -366,7 +366,7 @@ async def pass_through_request(
litellm_call_id=str(uuid.uuid4()),
function_id="1245",
)
- passthrough_logging_payload = PassthroughStandardLoggingObject(
+ passthrough_logging_payload = PassthroughStandardLoggingPayload(
url=str(url),
request_body=_parsed_body,
)
diff --git a/litellm/proxy/pass_through_endpoints/types.py b/litellm/proxy/pass_through_endpoints/types.py
index c719f165dee..b3aa4418d00 100644
--- a/litellm/proxy/pass_through_endpoints/types.py
+++ b/litellm/proxy/pass_through_endpoints/types.py
@@ -7,7 +7,7 @@ class EndpointType(str, Enum):
GENERIC = "generic"
-class PassthroughStandardLoggingObject(TypedDict, total=False):
+class PassthroughStandardLoggingPayload(TypedDict, total=False):
"""
Standard logging payload for all pass through endpoints
"""