Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

语音功能没法使用 #58

Open
frankiegu opened this issue Nov 3, 2023 · 1 comment
Open

语音功能没法使用 #58

frankiegu opened this issue Nov 3, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@frankiegu
Copy link

image
这是https://web.aicode.cc/ 使用语音时的报错。

@mylxsw mylxsw added the bug Something isn't working label Nov 5, 2023
@mylxsw
Copy link
Owner

mylxsw commented Jan 25, 2024

桌面端(Win)已修复语音输入问题(develop 分支),但是 Web 端语音输入功能遇到了一些技术问题暂时无法解决,原因是 component/chat/voice_record.dart 中,生成的录音文件是 blob:http://localhost:22845/xxxxxx 格式的文件,但是调用 OpenAI 兼容的接口时,转换为 MultipartFile 格式时遇到了以下错误

⛔ Unsupported operation: MultipartFile is only supported where dart:io is available.

期待有大牛来贡献该问题的解决思路。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants