mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix(proxy): keep route logging signature, suppress one unknown-arg with reason
This commit is contained in:
parent
bd18174611
commit
20a4df16d8
1 changed files with 2 additions and 2 deletions
|
|
@ -280,7 +280,7 @@ class PassThroughStreamingHandler:
|
|||
litellm_logging_obj: LiteLLMLoggingObj,
|
||||
passthrough_success_handler_obj: PassThroughEndpointLogging,
|
||||
url_route: str,
|
||||
request_body: dict[str, object],
|
||||
request_body: dict,
|
||||
endpoint_type: EndpointType,
|
||||
start_time: datetime,
|
||||
raw_bytes: Sequence[bytes],
|
||||
|
|
@ -320,7 +320,7 @@ class PassThroughStreamingHandler:
|
|||
await PassThroughStreamingHandler.schedule_stream_failure_logging(
|
||||
litellm_logging_obj=litellm_logging_obj,
|
||||
endpoint_type=endpoint_type,
|
||||
request_body=request_body,
|
||||
request_body=request_body, # pyright: ignore[reportUnknownArgumentType] # request_body is an untyped dict in this signature
|
||||
raw_bytes=raw_bytes,
|
||||
exception=AnthropicError(status_code=error_status_code, message=error_message),
|
||||
stream_context=PassThroughStreamContext(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue