github AstrBotDevs/AstrBot v4.18.3

20 hours ago

What's Changed

新增

  • 新增桌面端通用更新桥接能力,便于接入客户端内更新流程 (#5424)。

修复

  • 修复新增平台对话框中 Line 适配器未显示的问题。
  • 修复 Telegram 无法发送 Video 的问题 (#5430)。
  • 修复创建 embedding provider 时无法自动识别向量维度的问题 (#5442)。
  • 修复 QQ 官方平台发送媒体消息时 markdown 字段未清理的问题 (#5445)。
  • 修复上下文管理策略 -> 上下文截断时 tool call / response 配对丢失的问题 (#5417)。
  • 修复会话更新时 persona_id 被覆盖的问题,并增强 persona 解析逻辑。
  • 修复 WebUI 中 GitHub 代理地址显示异常的问题 (#5438)。
  • 修复设置页新建开发者 API Key 后复制失败的问题 (#5439)。
  • 修复 Telegram 语音消息格式与 OpenAI STT 兼容性问题(使用 OGG) (#5389)。

优化

  • 优化知识库检索流程,改为批量查询元数据,修复 N+1 查询性能问题 (#5463)。
  • 优化 Cron 未来任务执行的会话隔离能力,提升并发稳定性。
  • 优化 WebUI 插件页的交互。

What's Changed (EN)

New Features

  • Added useExtensionPage composable for unified plugin extension page state management.
  • Added a generic desktop app updater bridge to support in-app update workflows (#5424).

Bug Fixes

  • Fixed the Line adapter not appearing in the "Add Platform" dialog.
  • Fixed Telegram video sending issues (#5430).
  • Fixed Pyright static type checking errors (#5437).
  • Fixed embedding dimension auto-detection when creating embedding providers (#5442).
  • Fixed stale markdown fields when sending media messages via QQ Official Platform (#5445).
  • Fixed tool call/response pairing loss during context truncation (#5417).
  • Fixed persona_id being overwritten during conversation updates and improved persona resolution logic.
  • Fixed incorrect GitHub proxy display in WebUI (#5438).
  • Fixed API key copy failure after creating a new key in settings (#5439).
  • Fixed Telegram voice format compatibility with OpenAI STT by using OGG (#5389).

Improvements

  • Improved knowledge base retrieval by batching metadata queries to eliminate the N+1 query pattern (#5463).
  • Improved session isolation for future cron tasks to increase stability under concurrency.
  • Improved WebUI plugin page interactions.

What's Changed

  • fix: Telegram voice message format (OGG instead of WAV) causing issues with OpenAI STT API by @realquantumcookie in #5389
  • feat(dashboard): add generic desktop app updater bridge by @zouyonghe in #5424
  • fix(dashboard): 修复设置页新建 API Key 后复制失败问题 by @exynos967 in #5439
  • Fix: GitHub proxy not displaying correctly in WebUI by @letr007 in #5438
  • fix: ensure tool call/response pairing in context truncation by @Luna-channel in #5417
  • fix(persona): preserve conversation persona_id and unify session/conversation resolution by @Raven95676 in #5440
  • fix: clear markdown field when sending media messages via QQ Official Platform by @KBVsent in #5445
  • fix: cannot automatically get embedding dim when create embedding provider by @exynos967 in #5442
  • fix: pyright check by @Dt8333 in #5437
  • fix(telegram): cannot send video message (#2536) by @CCCCCCTV in #5430
  • perf: batch metadata query in KB retrieval to fix N+1 problem by @CAICAIIs in #5463
  • fix:fix the issue where incomplete cleanup of residual plugins occurs… by @Waterwzy in #5462
  • chore: fix UnsupportedDunder report in pyright by @Dt8333 in #5474
  • [bug]查看介入教程line前往错误界面的问题 by @Sjshi763 in #5479

New Contributors

Full Changelog: v4.18.2...v4.18.3

Don't miss a new AstrBot release

NewReleases is sending notifications on new releases.