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
style: apply black formatting to responses/utils.py
Yang Yang6963cfe0474d
diff --git a/litellm/responses/utils.py b/litellm/responses/utils.pyindex 659edb6db3b..f9677e78ee7 100644--- a/litellm/responses/utils.py+++ b/litellm/responses/utils.py@@ -1095,7 +1095,9 @@ class ResponseAPILoggingUtils:if usage_input.get("server_side_tool_usage_details") is not None:usage_kwargs["server_side_tool_usage_details"] = usage_input["server_side_tool_usage_details"]else:- details = getattr(response_api_usage, "server_side_tool_usage_details", None)+ details = getattr(+ response_api_usage, "server_side_tool_usage_details", None+ )if details is not None:usage_kwargs["server_side_tool_usage_details"] = details