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/main' into litellm_lit_3269_project_spend_tracking
ryan-crabbe-berria5f6ce7bb1c6
diff --cc litellm/proxy/proxy_server.pyindex d8292b4bd0e,0652f312114..fbeedd302e5--- a/litellm/proxy/proxy_server.py+++ b/litellm/proxy/proxy_server.py@@@ -428,11 -437,9 +437,11 @@@ from litellm.proxy.common_utils.user_apget_management_object_ttl,model_access_group_cache_key,model_access_group_spend_counter_key,+ project_cache_key,+ project_spend_counter_key,tag_cache_key,)- from litellm.proxy.config_resolvers import resolve_fields+ from litellm.proxy.config_resolvers import SettingsStore, resolve_fieldsfrom litellm.proxy.config_resolvers.alerting import (EMAIL_DESCRIPTORS,MS_TEAMS_DESCRIPTORS,diff --cc tests/test_litellm/proxy/db/test_db_spend_update_writer.pyindex 2efc0d99b8a,e38a65f2b12..7d989b0141a--- a/tests/test_litellm/proxy/db/test_db_spend_update_writer.py+++ b/tests/test_litellm/proxy/db/test_db_spend_update_writer.py@@@ -16,10 -15,12 +16,14 @@@ import pytesfrom redis.exceptions import DataErrorimport litellm-from litellm.proxy._types import Litellm_EntityType+from litellm._logging import verbose_proxy_logger+from litellm.proxy._types import Litellm_EntityType, SpendUpdateQueueItem- from litellm.proxy.db.db_spend_update_writer import DBSpendUpdateWriter+ from litellm.proxy.db.db_spend_update_writer import (+ _TEAM_ADVISORY_LOCK_SQL,+ _TEAM_MEMBER_SPEND_SQL,+ DBSpendUpdateWriter,+ )+from litellm.proxy.db.db_transaction_queue.spend_update_queue import SpendUpdateQueuefrom litellm.proxy.db.db_transaction_queue.window_spend_update_queue import (build_window_spend_transaction,)