From 1f5387f59edc7b56a01c745182e66b1dd48eaa47 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 2 Dec 2024 23:55:43 -0800 Subject: [PATCH] test_transcription --- litellm/proxy/litellm_pre_call_utils.py | 2 +- tests/local_testing/test_whisper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/proxy/litellm_pre_call_utils.py b/litellm/proxy/litellm_pre_call_utils.py index 6ac792696d..9e47c20d6f 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 328d926129..68c292a608 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,