Skip to content

Commit b2b144a

Browse files
committed
fix: correct API method for speech-to-text functionality
--bug=1058103 --user=刘瑞斌 【应用】简易应用-语音识别模型-调试预览页-语音识别失败且停止按钮显示异常 https://www.tapd.cn/62980211/s/1727412
1 parent 399e1dc commit b2b144a

File tree

1 file changed

+1
-1
lines changed
  • ui/src/components/ai-chat/component/chat-input-operate

1 file changed

+1
-1
lines changed

ui/src/components/ai-chat/component/chat-input-operate/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ const getSpeechToTextAPI = () => {
643643
return chatAPI.speechToText(data, loading)
644644
}
645645
} else {
646-
return applicationApi.postTextToSpeech
646+
return applicationApi.speechToText
647647
}
648648
}
649649
const speechToTextAPI = getSpeechToTextAPI()

0 commit comments

Comments
 (0)