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 remote-tracking branch 'origin/litellm_internal_staging' into litellm_decrease_anys_opus5_r2

mateo-berri048e82ec6501
diff --cc basedpyright-code-budget.json
index 00c79c1e418,95e69bf7f1d..99c88845725
--- a/basedpyright-code-budget.json
+++ b/basedpyright-code-budget.json
@@@ -24,7 -24,7 +24,7 @@@
"limit": 19
},
"reportExplicitAny": {
- "limit": 5063
- "limit": 5485
++ "limit": 5062
},
"reportFunctionMemberAccess": {
"limit": 7
diff --cc enterprise/litellm_enterprise/proxy/common_utils/check_batch_cost.py
index 0a75768f709,3b09dc9272e..354a6ed2fd0
--- a/enterprise/litellm_enterprise/proxy/common_utils/check_batch_cost.py
+++ b/enterprise/litellm_enterprise/proxy/common_utils/check_batch_cost.py
@@@ -2,9 -2,10 +2,10 @@@
Polls LiteLLM_ManagedObjectTable to check if the batch job is complete, and if the cost has been tracked.
"""
+ from dataclasses import replace as dataclasses_replace
from datetime import datetime, timedelta, timezone
from types import MappingProxyType
- from typing import TYPE_CHECKING, Final, List, Optional, Tuple
-from typing import TYPE_CHECKING, Any, Dict, Final, List, Literal, Optional, Tuple, cast
++from typing import TYPE_CHECKING, Final, List, Literal, Optional, Tuple, cast
from litellm._logging import verbose_proxy_logger
from litellm._uuid import uuid
diff --cc ruff-strict-budget.json
index 33877524fb5,b4107582000..fca2e4f69bc
--- a/ruff-strict-budget.json
+++ b/ruff-strict-budget.json
@@@ -24,7 -24,7 +24,7 @@@
"limit": 133
},
"ANN401": {
- "limit": 517
- "limit": 654
++ "limit": 516
},
"ASYNC230": {
"limit": 11
@@@ -231,7 -231,7 +231,7 @@@
"limit": 5
},
"TID251": {
- "limit": 1105
- "limit": 1116
++ "limit": 1104
},
"TRY002": {
"limit": 524
diff --cc type-discipline-budget.json
index be3c9589015,7365cec4fdd..ecd4fc738e9
--- a/type-discipline-budget.json
+++ b/type-discipline-budget.json
@@@ -1,9 -1,9 +1,9 @@@
{
"LIT001": {
- "limit": 22655
- "limit": 22704
++ "limit": 22654
},
"LIT002": {
- "limit": 26854
+ "limit": 26830
},
"LIT003": {
"limit": 269
@@@ -27,12 -27,12 +27,12 @@@
"limit": 0
},
"LIT010": {
- "limit": 16564
+ "limit": 16546
},
"LIT011": {
- "limit": 5577
+ "limit": 5558
},
"LIT012": {
- "limit": 4508
+ "limit": 4506
}
}