What's Changed
新增
- 新增个人微信接入能力(微信官方提供)。详见 个人微信接入(#6777)
- 新增图片压缩能力,支持图片尺寸、JPEG 质量限制。(#6794)
- 新增 WebUI 已安装插件置顶与拖拽重排能力。(#6776)
优化
修复
- Telegram 适配器改为导入
Forbidden,替代已弃用的Unauthorized(兼容性修正)。(#6769) - 处理 OpenAI Provider 中
token usage metrics为None时的异常场景。(#6788) - 保留全部
CallToolResult的content项,避免工具调用上下文内容丢失。(#6149)
What's Changed (EN)
New Features
- Added WeChat personal account support, including QR-code driven setup, message flow refactor, and media handling improvements.(#6777)
- Added pinning and drag-sorting for installed WebUI plugins.(#6776)
- Added image compression with max-size handling and temporary-file lifecycle management for improved image efficiency.(#6794)
Improvements
- Skipped search execution when the entire knowledge base is empty.(#6750)
- Preserved escaped newlines in
frontmatter, with related test and CI workflow updates.(#6783)
Bug Fixes
- Replaced deprecated Telegram adapter import of
UnauthorizedwithForbidden.(#6769) - Handled
Nonevalues in OpenAI providertoken usage metrics.(#6788) - Kept all
CallToolResult.contentitems to prevent losing tool-call context.(#6149)
What's Changed
- feat: supports weixin personal account by @Soulter in #6777
- fix(platform.tg_adapter): import Forbidden instead of deprecated Unauthorized (#6765) by @mzwing in #6769
- feat: skip search when the entire knowledge base is empty by @Waterwzy in #6750
- feat: fix preserve escaped newlines in frontmatter & update tests & ci workflows by @RC-CHN in #6783
- Feat(webui): support pinning and dragging for installed plugins (#6649) by @M1LKT in #6776
- fix: handle potential None values for token usage metrics in OpenAI provider by @Soulter in #6788
- feat: supports image compressing (#6463) by @Soulter in #6794
- fix: keep all CallToolResult content items by @tsubasakong in #6149
New Contributors
Full Changelog: v4.21.0...v4.22.0