rename type

This commit is contained in:
Ishaan Jaff 2024-09-04 16:33:36 -07:00
parent b336977ff6
commit 784ceaad0d
2 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ from litellm.proxy.auth.user_api_key_auth import user_api_key_auth
from .streaming_handler import chunk_processor from .streaming_handler import chunk_processor
from .success_handler import PassThroughEndpointLogging from .success_handler import PassThroughEndpointLogging
from .types import EndpointType, PassthroughStandardLoggingObject from .types import EndpointType, PassthroughStandardLoggingPayload
router = APIRouter() router = APIRouter()
@ -366,7 +366,7 @@ async def pass_through_request(
litellm_call_id=str(uuid.uuid4()), litellm_call_id=str(uuid.uuid4()),
function_id="1245", function_id="1245",
) )
passthrough_logging_payload = PassthroughStandardLoggingObject( passthrough_logging_payload = PassthroughStandardLoggingPayload(
url=str(url), url=str(url),
request_body=_parsed_body, request_body=_parsed_body,
) )

View file

@ -7,7 +7,7 @@ class EndpointType(str, Enum):
GENERIC = "generic" GENERIC = "generic"
class PassthroughStandardLoggingObject(TypedDict, total=False): class PassthroughStandardLoggingPayload(TypedDict, total=False):
""" """
Standard logging payload for all pass through endpoints Standard logging payload for all pass through endpoints
""" """