style: ruff format

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-08-25 23:01:52 +00:00
parent b9f3736c20
commit c7159328ab

View file

@ -227,7 +227,9 @@ class XAIChatConfig(OpenAIGPTConfig):
chat_params: Final = { # mutable-ok: base transform_request takes a plain dict of optional params
key: value for key, value in optional_params.items() if key != "web_search_options"
}
return super().transform_request(model, strip_name_from_messages(messages), chat_params, litellm_params, headers)
return super().transform_request(
model, strip_name_from_messages(messages), chat_params, litellm_params, headers
)
@staticmethod
def _fix_choice_finish_reason_for_tool_calls(choice: Choices) -> None: