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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_budget_reset_uow
mateo-berri9b972a495111
diff --cc litellm/proxy/common_utils/reset_budget_job.pyindex 1537958063a,450dc12a9ff..39fdc0216a0--- a/litellm/proxy/common_utils/reset_budget_job.py+++ b/litellm/proxy/common_utils/reset_budget_job.py@@@ -1,9 -1,9 +1,9 @@@import asyncioimport jsonimport time-from collections.abc import Callable, Mapping, Sequence+from collections.abc import Callable, Sequencefrom datetime import datetime, timezone- from typing import Literal, Protocol, TypeVar+ from typing import Final, Literal, Protocol, TypeVarimport litellmfrom litellm._logging import verbose_proxy_logger@@@ -436,8 -466,8 +436,8 @@@ class ResetBudgetJobrely on the default budget (litellm.max_end_user_budget_id) appliedin-memory during auth checks."""- table: ReadOnlyTable = EndUserRepository(self.prisma_client).table- rows = await table.find_many(- table: Final[_EndUserTable] = EndUserRepository(self.prisma_client).table++ table: Final[ReadOnlyTable] = EndUserRepository(self.prisma_client).table+ rows: Final = await table.find_many(where={"budget_id": None,"spend": {"gt": 0},