mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
rename type
This commit is contained in:
parent
b336977ff6
commit
784ceaad0d
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 .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,
|
||||||
)
|
)
|
||||||
|
|
|
@ -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
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue