feat: 更新语音转文字功能,支持从音频链接获取音频数据并转换为base64;添加错误处理和权限验证

This commit is contained in:
2026-03-12 02:45:46 +08:00
parent 99141a926e
commit 10874917f2
2 changed files with 103 additions and 13 deletions

View File

@@ -4,4 +4,5 @@ import { auraConfig } from '../../config.ts'
export const asr = new Asr({
appid: auraConfig.VOLCENGINE_AUC_APPID,
token: auraConfig.VOLCENGINE_AUC_TOKEN,
type: 'flash'
})