mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
log correct file name on langfuse
This commit is contained in:
parent
31e19fcd59
commit
f5ec25248a
1 changed files with 2 additions and 1 deletions
|
@ -553,7 +553,8 @@ def function_setup(
|
|||
or call_type == CallTypes.transcription.value
|
||||
):
|
||||
_file_name: BinaryIO = args[1] if len(args) > 1 else kwargs["file"]
|
||||
messages = "audio_file"
|
||||
file_name = getattr(_file_name, "name", "audio_file")
|
||||
messages = file_name
|
||||
elif (
|
||||
call_type == CallTypes.aspeech.value or call_type == CallTypes.speech.value
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue