ikechan8370 / chatgpt-plugin

云崽系机器人的智能聊天插件
https://www.yunzai.chat/
GNU General Public License v3.0
998 stars 104 forks source link

合成语音成功后,无法获取语音长度发不出来 #588

Closed misaka20002 closed 10 months ago

misaka20002 commented 11 months ago

请确保提出问题前更新到最新版本!!!!!!!!

请在提交issue前确认你已阅读了以下资料:

如果你的问题已经在readme或其他Issue中得到解答,我们很可能不会回复。请确保你的问题是一个新的问题。

问题描述

合成语音成功后,无法获取语音长度发不出来。 报错: ReferenceError: e is not defined

预期行为

获取语音后发送出来

实际行为

无法获取语音长度发不出来

环境

miao-yunzai Android

以及

trss-yunzai Windows

附加信息

倒序: [16:09:46.117][ERRO] ApiRejection { code: -60, message: '音频转码到amr失败,请确认你的ffmpeg可以处理此转换' } [16:09:46.116][ERRO] 发送消息错误:{"type":"record","file":"https://misaka20001-paimon-is-not-a-food.hf.space/file=/tmp/tmpb3ymqx01/tmpmc4a2voq.wav"} at async PluginsLoader.deal (file:///root/Miao-Yunzai/lib/plugins/loader.js:282:54) at async chatgpt (file:///root/Miao-Yunzai/plugins/chatgpt-plugin/apps/chat.js:827:5) at async chatgpt.abstractChat (file:///root/Miao-Yunzai/plugins/chatgpt-plugin/apps/chat.js:1264:26) at async generateAudio (file:///root/Miao-Yunzai/plugins/chatgpt-plugin/utils/common.js:882:18) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at uploadRecord (file:///root/Miao-Yunzai/plugins/chatgpt-plugin/utils/uploadRecord.js:142:17) [16:09:36.404][ERRO] ReferenceError: e is not defined [16:09:31.692][MARK] 使用云转码silk进行高清语音生成:" [16:08:47.850][MARK] sydney websocket constructed successful

ikechan8370 commented 11 months ago

已知bug 近期修复

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 10 months ago

This issue was closed because it has been stalled for 5 days with no activity.