mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
revert transcription api key
This commit is contained in:
parent
ce71e13ef6
commit
f82b37990a
1 changed files with 0 additions and 8 deletions
|
|
@ -3995,13 +3995,6 @@ def transcription(
|
|||
max_retries=max_retries,
|
||||
)
|
||||
elif custom_llm_provider == "openai":
|
||||
api_key = (
|
||||
api_key
|
||||
or litellm.api_key
|
||||
or litellm.azure_key
|
||||
or get_secret("OPENAI_API_KEY")
|
||||
)
|
||||
|
||||
response = openai_chat_completions.audio_transcriptions(
|
||||
model=model,
|
||||
audio_file=file,
|
||||
|
|
@ -4010,7 +4003,6 @@ def transcription(
|
|||
atranscription=atranscription,
|
||||
timeout=timeout,
|
||||
logging_obj=litellm_logging_obj,
|
||||
api_key=api_key,
|
||||
max_retries=max_retries,
|
||||
)
|
||||
return response
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue