From 1a377bdd28270036369b39a40e11440dfcecff6d Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Fri, 1 May 2026 18:41:05 +0530 Subject: [PATCH] style(xai): apply black to xai chat transformation Made-with: Cursor --- litellm/llms/xai/chat/transformation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/llms/xai/chat/transformation.py b/litellm/llms/xai/chat/transformation.py index 3d7c8bf3b93..37ffb45f847 100644 --- a/litellm/llms/xai/chat/transformation.py +++ b/litellm/llms/xai/chat/transformation.py @@ -224,9 +224,7 @@ class XAIChatConfig(OpenAIGPTConfig): except Exception as e: verbose_logger.debug(f"Error extracting X.AI web search usage: {e}") - self._normalize_openai_compatible_usage_totals( - getattr(response, "usage", None) - ) + self._normalize_openai_compatible_usage_totals(getattr(response, "usage", None)) return response def _enhance_usage_with_xai_web_search_fields(