v2.1.11
Immutable
release. Only release title and notes can be modified.
v2.1.11
修复 AstrBot v4.24.2 agent request 阶段缓存残留导致的两类问题:
Error occurred while processing agent request: not a valid file: xxx.amr'dict' object has no attribute 'model_dump_for_context'
主要变化
event.extras/message_obj.extras中的request、req、llm_request等 ProviderRequest 别名会被原地净化,不再被跳过。- 带
model_dump_for_context()的 AstrBot 请求对象会被识别并保留对象身份,避免被序列化成普通dict写回缓存。 run_context支持 dict/mapping 形态清理,扩展cached_content、cached_messages、history、input_messages、conversation、session等缓存字段。- 普通 URL、普通
files/path和普通 extras 会继续保留;只有确认含音频引用、Record或.amr/.silk等音频痕迹时才净化。
验证
py -3 -m py_compile astrbot_plugin_volcengine_asr\\main.py tests\\test_voice_workflow.py tests\\test_helpers.py- 手动加载
tests.conftest后执行 70 条零参数回归:全部通过。
安装提醒
请下载本 Release 附件里的 astrbot_plugin_volcengine_asr.zip,不要使用 GitHub 自动生成的 Source code zip。