Skip to content

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]

ruff fix

Ishaan Jaffe64bd66b1c7d
diff --git a/litellm/llms/groq/chat/transformation.py b/litellm/llms/groq/chat/transformation.py
index 6bf202c1b4e..86fa323f9e3 100644
--- a/litellm/llms/groq/chat/transformation.py
+++ b/litellm/llms/groq/chat/transformation.py
@@ -1,18 +1,7 @@
"""
Translate from OpenAI's `/v1/chat/completions` to Groq's `/v1/chat/completions`
"""
-from typing import (
- TYPE_CHECKING,
- Any,
- Coroutine,
- List,
- Literal,
- Optional,
- Tuple,
- Union,
- cast,
- overload,
-)
+from typing import Any, Coroutine, List, Literal, Optional, Tuple, Union, cast, overload
import httpx
from pydantic import BaseModel