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: fix ruff errors
Krrish Dholakiac54c41f72668
diff --git a/litellm/integrations/braintrust_logging.py b/litellm/integrations/braintrust_logging.pyindex c362b513281..5bc6afb6dbc 100644--- a/litellm/integrations/braintrust_logging.py+++ b/litellm/integrations/braintrust_logging.py@@ -1,18 +1,15 @@# What is this?## Log success + failure events to Braintrust-import copyimport osfrom datetime import datetimefrom typing import Dict, Optionalimport httpx-from pydantic import BaseModelimport litellmfrom litellm import verbose_loggerfrom litellm.integrations.custom_logger import CustomLogger-from litellm.litellm_core_utils.safe_json_dumps import filter_json_serializablefrom litellm.llms.custom_httpx.http_handler import (HTTPHandler,get_async_httpx_client,@@ -25,7 +22,6 @@ API_BASE = "https://api.braintrustdata.com/v1"def get_utc_datetime():import datetime as dt- from datetime import datetimeif hasattr(dt, "UTC"):return datetime.now(dt.UTC) # type: ignore