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
Fix code qa
Sameer Kankute82025bff6e4b
diff --git a/litellm/proxy/guardrails/guardrail_hooks/block_code_execution/block_code_execution.py b/litellm/proxy/guardrails/guardrail_hooks/block_code_execution/block_code_execution.pyindex 77f2eaa27d7..99abdf28211 100644--- a/litellm/proxy/guardrails/guardrail_hooks/block_code_execution/block_code_execution.py+++ b/litellm/proxy/guardrails/guardrail_hooks/block_code_execution/block_code_execution.py@@ -11,7 +11,6 @@ from datetime import datetimefrom typing import (TYPE_CHECKING,Any,- AsyncGenerator,Dict,List,Literal,@@ -37,7 +36,6 @@ from litellm.types.utils import (GenericGuardrailAPIInputs,GuardrailStatus,GuardrailTracingDetail,- ModelResponseStream,)if TYPE_CHECKING:diff --git a/litellm/realtime_api/main.py b/litellm/realtime_api/main.pyindex e4c8f648190..75fb6f35add 100644--- a/litellm/realtime_api/main.py+++ b/litellm/realtime_api/main.py@@ -33,7 +33,7 @@ base_llm_http_handler = BaseLLMHTTPHandler()@wrapper_client-async def _arealtime(+async def _arealtime( # noqa: PLR0915model: str,websocket: Any, # fastapi websocketapi_base: Optional[str] = None,