From 775997b283e34d3bbeb628d801d3e03741de5175 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 8 Mar 2024 23:33:54 -0800 Subject: [PATCH] fix(openai.py): fix async audio transcription --- litellm/llms/openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/openai.py b/litellm/llms/openai.py index 64c0aa3afd2..9850cd61eb5 100644 --- a/litellm/llms/openai.py +++ b/litellm/llms/openai.py @@ -862,7 +862,7 @@ class OpenAIChatCompletion(BaseLLM): additional_args={"complete_input_dict": data}, original_response=stringified_response, ) - return convert_to_model_response_object(response_object=stringified_response, model_response_object=model_response, response_type="image_generation") # type: ignore + return convert_to_model_response_object(response_object=stringified_response, model_response_object=model_response, response_type="audio_transcription") # type: ignore except Exception as e: ## LOGGING logging_obj.post_call(