The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: fix ruff check
Krrish Dholakia45d32dc90f74
diff --git a/litellm/llms/mistral/chat/transformation.py b/litellm/llms/mistral/chat/transformation.pyindex 385057bb45a..3ba925c1ba5 100644--- a/litellm/llms/mistral/chat/transformation.py+++ b/litellm/llms/mistral/chat/transformation.py@@ -28,11 +28,7 @@ from litellm.litellm_core_utils.prompt_templates.common_utils import ()from litellm.llms.openai.chat.gpt_transformation import OpenAIGPTConfigfrom litellm.secret_managers.main import get_secret_str-from litellm.types.llms.mistral import (- MistralTextBlock,- MistralThinkingBlock,- MistralToolCallMessage,-)+from litellm.types.llms.mistral import MistralThinkingBlock, MistralToolCallMessagefrom litellm.types.llms.openai import AllMessageValuesfrom litellm.types.utils import ModelResponsefrom litellm.utils import convert_to_model_response_objectdiff --git a/litellm/responses/main.py b/litellm/responses/main.pyindex ebd0ad4f42d..0d7c4f732c6 100644--- a/litellm/responses/main.py+++ b/litellm/responses/main.py@@ -1,7 +1,7 @@import asyncioimport contextvarsfrom functools import partial-from typing import Any, Coroutine, Dict, Iterable, List, Literal, Optional, Union, cast+from typing import Any, Coroutine, Dict, Iterable, List, Literal, Optional, Unionimport httpx