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()