File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
ui/src/components/ai-chat/component/chat-input-operate Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -688,7 +688,9 @@ const uploadRecording = async (audioBlob: Blob) => {
688688 recorderStatus .value = ' TRANSCRIBING'
689689 const formData = new FormData ()
690690 formData .append (' file' , audioBlob , ' recording.mp3' )
691- bus .emit (' on:transcribing' , true )
691+ if (props .applicationDetails .stt_autosend ) {
692+ bus .emit (' on:transcribing' , true )
693+ }
692694 applicationApi
693695 .postSpeechToText (props .applicationDetails .id as string , formData , localLoading )
694696 .then ((response ) => {
@@ -767,7 +769,7 @@ function autoSendMessage() {
767769 document_list: uploadDocumentList .value ,
768770 audio_list: uploadAudioList .value ,
769771 video_list: uploadVideoList .value ,
770- other_list: uploadOtherList .value ,
772+ other_list: uploadOtherList .value
771773 })
772774 inputValue .value = ' '
773775 uploadImageList .value = []
You can’t perform that action at this time.
0 commit comments