mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
rename type
This commit is contained in:
parent
b8811d5165
commit
c364d311b9
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
)
|
||||
|
|
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue