mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-27 06:13:07 +00:00
fix(proxy): forward dispatched_call_type through _failure_usage_to_lift (#47815)
This commit is contained in:
parent
a8113b0dd7
commit
a31c5230de
1 changed files with 2 additions and 0 deletions
|
|
@ -1294,6 +1294,7 @@ def _failure_usage_to_lift(
|
|||
provider_billed: bool = False,
|
||||
deployment_id: str | None = None,
|
||||
base_model: str | None = None,
|
||||
dispatched_call_type: str | None = None,
|
||||
) -> tuple[object, object] | None:
|
||||
current_attempt: Final = _current_failure_usage_to_lift(
|
||||
model_call_details,
|
||||
|
|
@ -1302,6 +1303,7 @@ def _failure_usage_to_lift(
|
|||
provider_billed,
|
||||
deployment_id,
|
||||
base_model,
|
||||
dispatched_call_type=dispatched_call_type,
|
||||
)
|
||||
failed_attempts: Final = _FAILED_ATTEMPTS_USAGE.validate_python(model_call_details.get("failed_attempts_usage", ()))
|
||||
if not failed_attempts:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue