mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix(cost): drop unnecessary cast in batch rate lookup
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
bf1bdb3045
commit
a5f00b9189
1 changed files with 1 additions and 1 deletions
|
|
@ -2288,7 +2288,7 @@ def _batch_rate(
|
|||
fallback: float,
|
||||
) -> float:
|
||||
rate: Final = model_info.get(key)
|
||||
return fallback if rate is None else cast(float, rate)
|
||||
return fallback if rate is None else rate
|
||||
|
||||
|
||||
def batch_cost_calculator(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue