forked from phoenix/litellm-mirror
log correct file name on langfuse
This commit is contained in:
parent
7f1d32a75b
commit
1b3bc32090
1 changed files with 2 additions and 1 deletions
|
@ -553,7 +553,8 @@ def function_setup(
|
||||||
or call_type == CallTypes.transcription.value
|
or call_type == CallTypes.transcription.value
|
||||||
):
|
):
|
||||||
_file_name: BinaryIO = args[1] if len(args) > 1 else kwargs["file"]
|
_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 (
|
elif (
|
||||||
call_type == CallTypes.aspeech.value or call_type == CallTypes.speech.value
|
call_type == CallTypes.aspeech.value or call_type == CallTypes.speech.value
|
||||||
):
|
):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue