mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
test_transcription
This commit is contained in:
parent
bb61f2792f
commit
1f5387f59e
2 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue