mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
fix(proxy): avoid final binding inside summary loop
This commit is contained in:
parent
0226c8c34f
commit
476566d260
1 changed files with 1 additions and 1 deletions
|
|
@ -3207,7 +3207,7 @@ async def view_spend_logs(
|
|||
)
|
||||
return_list: Final[list[dict[str, object]]] = [] # mutable-ok: append the ordered legacy response rows
|
||||
for spend_date in sorted(daily_spend):
|
||||
day_result: Final[dict[str, object]] = { # mutable-ok: add per-key totals before emitting the row
|
||||
day_result: dict[str, object] = { # mutable-ok: add per-key totals before emitting the row
|
||||
"users": daily_user_spend[spend_date],
|
||||
"models": daily_model_spend[spend_date],
|
||||
"spend": daily_spend[spend_date],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue