From 8b6321b66c2e0269ad68b0e80c7dce8cf9443d41 Mon Sep 17 00:00:00 2001 From: JingHao-Leon <102573344+JingHao-Leon@users.noreply.github.com> Date: Tue, 29 Sep 2026 04:22:18 +0800 Subject: [PATCH] style: ruff format transformation.py --- litellm/llms/gigachat/chat/transformation.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/litellm/llms/gigachat/chat/transformation.py b/litellm/llms/gigachat/chat/transformation.py index e8d9adf909a..b8738a9541d 100644 --- a/litellm/llms/gigachat/chat/transformation.py +++ b/litellm/llms/gigachat/chat/transformation.py @@ -208,10 +208,7 @@ class GigaChatConfig(BaseConfig): ] optional_params["function_call"] = {"name": schema_name} # mutable-ok: request payload optional_params["_structured_output"] = True - elif not ( - isinstance(value, Mapping) - and (value.get("type") in (None, "text", "json_schema")) - ): + elif not (isinstance(value, Mapping) and (value.get("type") in (None, "text", "json_schema"))): # Only json_schema is actually mapped above; other response_format # values (e.g. json_object) would otherwise be silently ignored. if not drop_params: