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_fix_stream_modify_response_chunks

mateo-berri4c7dd0b5222f
diff --cc litellm/llms/openai/chat/guardrail_translation/handler.py
index 55b27947faa,ed628f55350..96a5ed663fc
--- a/litellm/llms/openai/chat/guardrail_translation/handler.py
+++ b/litellm/llms/openai/chat/guardrail_translation/handler.py
@@@ -56,11 -49,9 +56,12 @@@ from litellm.types.utils import
if TYPE_CHECKING:
from fastapi import HTTPException
- from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.integrations.custom_guardrail import (
+ CustomGuardrail,
+ ModifyResponseException,
+ )
from litellm.litellm_core_utils.litellm_logging import Logging as LiteLLMLoggingObj
+ from litellm.proxy._types import UserAPIKeyAuth
class OpenAIChatCompletionsHandler(BaseTranslation):
diff --cc type-discipline-budget.json
index 8ac1ecd00d4,3d2e97d55a5..52cb9628252
--- a/type-discipline-budget.json
+++ b/type-discipline-budget.json
@@@ -1,9 -1,9 +1,9 @@@
{
"LIT001": {
- "limit": 22516
- "limit": 22367
++ "limit": 22364
},
"LIT002": {
- "limit": 26818
+ "limit": 26777
},
"LIT003": {
"limit": 269