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]

test_transcription

Ishaan Jaff04238cd9a97e
diff --git a/litellm/proxy/litellm_pre_call_utils.py b/litellm/proxy/litellm_pre_call_utils.py
index 6ac792696d9..9e47c20d6f4 100644
--- a/litellm/proxy/litellm_pre_call_utils.py
+++ b/litellm/proxy/litellm_pre_call_utils.py
@@ -427,7 +427,7 @@ async def add_litellm_data_to_request( # noqa: PLR0915
if _metadata_variable_name not in data:
data[_metadata_variable_name] = {}
- # We want to log the "metadata" from the client side request. Avoid circular reference by not directly assigning metadata to itself
+ # We want to log the "metadata" from the client side request. Avoid circular reference by not directly assigning metadata to itself.
if "metadata" in data and data["metadata"] is not None:
data[_metadata_variable_name]["requester_metadata"] = copy.deepcopy(
data["metadata"]
diff --git a/tests/local_testing/test_whisper.py b/tests/local_testing/test_whisper.py
index 328d9261298..68c292a6084 100644
--- a/tests/local_testing/test_whisper.py
+++ b/tests/local_testing/test_whisper.py
@@ -58,7 +58,7 @@ from litellm import Router
@pytest.mark.asyncio
@pytest.mark.flaky(retries=3, delay=1)
async def test_transcription(
- model, api_key, api_base, response_format, sync_mode, timestamp_granularities
+ model, api_key, api_base, response_format, timestamp_granularities
):
transcript = await litellm.atranscription(
model=model,