[Bug] 引用媒体消息请求报错
What happened / 发生了什么
更新 v4.24.2 后引用语音会稳定报错,引用其他的都没问题
Reproduce / 如何复现?
引用语音请求llm
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
Astrbot v4.24.2 Linux Docker LLBot
OS
Linux
Logs / 报错日志
[2026-05-07 10:06:04.874] [Core] [DBUG] [agent_sub_stages.internal:204]: acquired session lock for llm request
[2026-05-07 10:06:04.878] [Core][ERRO][v4.24.2] [agent_sub_stages.internal:402]: Error occurred while processing agent: not a valid file: 418b7323467d75361a2119f6e311325b.amr
[2026-05-07 10:06:05.088] [Core] [DBUG] [pipeline.scheduler:93]: pipeline 执行完毕。
Are you willing to submit a PR? / 你愿意提交 PR 吗?
- [x] Yes!
Code of Conduct
- [x] I have read and agree to abide by the project's Code of Conduct。
你发送的语音是amr格式吗?是使用qq本身得到的语音吗?
是的
使用的模型可以引用语音信息吗,比如多模态模型
---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2026年05月07日 20:15 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [AstrBotDevs/AstrBot] [Bug] 引用语音请求 LLM 报错 (Issue #8049) | Foolllll-J left a comment (AstrBotDevs/AstrBot#8049)
是的
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
g3f,这应该和模型没关系,看日志时间,我供应商可没 0.004s 的响应速度
这个file后面就是*.amr吗,不是路径吗,目前初步判断是引用消息的时候,只传了*.amr,预期应该是file:///{filepath}/*.amr
可能是
我也遇到了同样的问题,虽说名义上是amr后缀的文件但是实际上是silk格式的文件,ffmpeg无法转换导致了这种情况。
同样的问题,最新版本依旧
同样的问题,最新版本依旧
最新版更新日志声称修了但是如修
@Soulter 这个何时修啊,都要一个月了,一引用就报错
issue #7686 似乎是相似问题
hi, thanks for your contribution! #8523 has fixed the issue.