We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cb5c2a commit 6e5c7c0Copy full SHA for 6e5c7c0
litellm/proxy/proxy_server.py
@@ -5483,6 +5483,7 @@ async def audio_transcriptions(
5483
file_object = io.BytesIO(file_content)
5484
file_object.name = file.filename
5485
data["file"] = file_object
5486
+
5487
try:
5488
### CALL HOOKS ### - modify incoming data / reject request before calling the model
5489
data = await proxy_logging_obj.pre_call_hook(
@@ -5500,7 +5501,7 @@ async def audio_transcriptions(
5500
5501
)
5502
response = await llm_call
5503
except Exception as e:
- raise HTTPException(status_code=500, detail=str(e))
5504
+ raise e
5505
finally:
5506
file_object.close() # close the file read in by io library
5507
0 commit comments