From 77f22be2075858dae62de1f44ecec85e6131ab86 Mon Sep 17 00:00:00 2001 From: milan Date: Tue, 25 Aug 2026 18:27:19 +0000 Subject: [PATCH] style: apply ruff format to common_utils Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/llms/azure_ai/common_utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/llms/azure_ai/common_utils.py b/litellm/llms/azure_ai/common_utils.py index 55a51176666..26a90157455 100644 --- a/litellm/llms/azure_ai/common_utils.py +++ b/litellm/llms/azure_ai/common_utils.py @@ -113,9 +113,7 @@ class AzureFoundryModelInfo(BaseLLMModelInfo): if AzureFoundryModelInfo.get_model_router_selected_model(hidden_params) is not None: return True deployment_model: Final = ( - hidden_params.get("litellm_model_name") or hidden_params.get("model") - if hidden_params is not None - else None + hidden_params.get("litellm_model_name") or hidden_params.get("model") if hidden_params is not None else None ) return any( isinstance(candidate, str) and AzureFoundryModelInfo.get_azure_ai_route(candidate) == "model_router"