github AstrBotDevs/AstrBot v4.10.3

17 hours ago

What's Changed

修复

  1. 修复 FishAudio TTS 不可用的问题;
  2. 修复 Anthropic API Chat Provider 部分情况下请求报错的问题;
  3. 修复部分情况下 WebUI 日志重建连接之后丢失日志的问题;
  4. 修复部分情况下 /provider 指令报错 index out of range 的问题;
  5. 修复通过 uv 或者 cli 方式启动 AstrBot,缺少所有内置插件的问题。

优化

  1. 丢弃值为 None 的 tool_call_idtool_calls 字段,提高接口兼容性。

新增

  1. 支持备份 AstrBot 数据和导入数据功能(Beta)。入口:WebUi -> 设置 -> 备份。
  2. text_chat 和 text_chat_stream 接口支持额外用户内容块参数 extra_user_content_parts,用于在用户消息后添加额外的内容块(如系统提醒、指令等)。

Details

  • feat: supports data backup by @RC-CHN in #4105
  • fix: fix log loss on SSE reconnect using Last-Event-ID by @LinCheng-TCT in #4205
  • fix: handle index out of range error when selecting provider by @advent259141 in #4206
  • fix: failed to initialize FishAudio TTS instance and improve handling logic by @DBJD-CR in #4200
  • fix: anthropic chat provider query error by @Soulter in #4212
  • perf: drop unnecessary none-value fields in tool call loop by @Soulter in #4213
  • feat: add extra user content block support by @kawayiYokami in #4189
  • refactor: move builtin stars to astrbot package by @Soulter in #4209

New Contributors

Full Changelog: v4.10.2...v4.10.3

Don't miss a new AstrBot release

NewReleases is sending notifications on new releases.