From b2b144af7c3dfe9859162804aa624595cec9c401 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 10 Jul 2025 10:56:52 +0800 Subject: [PATCH] fix: correct API method for speech-to-text functionality MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1058103 --user=刘瑞斌 【应用】简易应用-语音识别模型-调试预览页-语音识别失败且停止按钮显示异常 https://www.tapd.cn/62980211/s/1727412 --- .../components/ai-chat/component/chat-input-operate/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index 689aa70e5..4147153c9 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -643,7 +643,7 @@ const getSpeechToTextAPI = () => { return chatAPI.speechToText(data, loading) } } else { - return applicationApi.postTextToSpeech + return applicationApi.speechToText } } const speechToTextAPI = getSpeechToTextAPI()