From 91e05df35289a4cd0f5351e164d6897f9ef4c602 Mon Sep 17 00:00:00 2001 From: trakshan-mishra Date: Tue, 25 Aug 2026 20:29:44 +0530 Subject: [PATCH] fix: add missing httpx import in minimax transformation.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ruff caught this as F821 (undefined name httpx) — the transform_response override's raw_response parameter is typed as httpx.Response, but the module never imported httpx. Import order fixed via ruff --fix. --- litellm/llms/minimax/chat/transformation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/llms/minimax/chat/transformation.py b/litellm/llms/minimax/chat/transformation.py index 5d6b4c35933..1f7943fbc41 100644 --- a/litellm/llms/minimax/chat/transformation.py +++ b/litellm/llms/minimax/chat/transformation.py @@ -4,6 +4,8 @@ MiniMax OpenAI transformation config - extends OpenAI chat config for MiniMax's from typing import TYPE_CHECKING, Any, Final +import httpx + import litellm from litellm.llms.openai.chat.gpt_transformation import OpenAIGPTConfig from litellm.secret_managers.main import get_secret_str