mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
style(xai): apply black to xai chat transformation
Made-with: Cursor
This commit is contained in:
parent
2dd016d935
commit
1a377bdd28
1 changed files with 1 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue