Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Merge pull request #41878 from BerriAI/litellm_requeue_daily_spend_without_redis_buffer

Mateo Wangf6d4766ebeb0
diff --cc litellm/proxy/db/db_spend_update_writer.py
index e6dd63ff76d,37eac8604bd..165486a4669
--- a/litellm/proxy/db/db_spend_update_writer.py
+++ b/litellm/proxy/db/db_spend_update_writer.py
@@@ -15,10 -15,10 +15,10 @@@ import tracebac
from collections.abc import Mapping, Sequence
from datetime import datetime, timedelta, timezone
from types import MappingProxyType
- from typing import TYPE_CHECKING, Any, Final, Literal, Protocol, cast, overload
+ from typing import TYPE_CHECKING, Any, Final, Literal, Protocol, TypeVar, cast, overload
from urllib.parse import quote, unquote
-from typing_extensions import ReadOnly, TypedDict
+from typing_extensions import LiteralString, ReadOnly, TypedDict
import litellm
from litellm._logging import verbose_proxy_logger