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 QA checks
Ishaan Jaffer3fc262e92a74
diff --git a/litellm/secret_managers/aws_secret_manager_v2.py b/litellm/secret_managers/aws_secret_manager_v2.pyindex 5f8fa795f78..0e7a61d0370 100644--- a/litellm/secret_managers/aws_secret_manager_v2.py+++ b/litellm/secret_managers/aws_secret_manager_v2.py@@ -15,7 +15,7 @@ Requires:import jsonimport os-from typing import Any, Optional, Union+from typing import Any, Dict, Optional, Unionimport httpx@@ -221,7 +221,7 @@ class AWSSecretsManagerV2(BaseAWSLLM, BaseSecretManager):"""from litellm._uuid import uuid- data = {+ data: Dict[str, Any] = {"Name": secret_name,"SecretString": secret_value,"ClientRequestToken": str(uuid.uuid4()),diff --git a/litellm/secret_managers/cyberark_secret_manager.py b/litellm/secret_managers/cyberark_secret_manager.pyindex 0d439290c79..5f1e8b5cd07 100644--- a/litellm/secret_managers/cyberark_secret_manager.py+++ b/litellm/secret_managers/cyberark_secret_manager.py@@ -72,12 +72,12 @@ class CyberArkSecretManager(BaseSecretManager):try:if self.tls_cert_path and self.tls_key_path:# Certificate-based authentication- client = httpx.Client(cert=(self.tls_cert_path, self.tls_key_path))- resp = client.post(auth_url, content=self.conjur_api_key)+ http_client = httpx.Client(cert=(self.tls_cert_path, self.tls_key_path))+ resp = http_client.post(auth_url, content=self.conjur_api_key)else:# API key authentication- client = _get_httpx_client()- resp = client.post(auth_url, content=self.conjur_api_key)+ http_handler = _get_httpx_client()+ resp = http_handler.post(auth_url, content=self.conjur_api_key)resp.raise_for_status()