mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix: remove deadcode
The optimizations related to `select_data_generator` had no effect because its output which is the generator wasn't being used.
This commit is contained in:
parent
98e2b64040
commit
4614e528dc
1 changed files with 0 additions and 5 deletions
|
|
@ -5327,11 +5327,6 @@ async def audio_speech(
|
|||
hidden_params=hidden_params,
|
||||
)
|
||||
|
||||
select_data_generator(
|
||||
response=response,
|
||||
user_api_key_dict=user_api_key_dict,
|
||||
request_data=data,
|
||||
)
|
||||
# Determine media type based on model type
|
||||
media_type = "audio/mpeg" # Default for OpenAI TTS
|
||||
request_model = data.get("model", "")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue