- [更新日志(简体中文)](#chinese)
- [Changelog(English)](#english)

<a id="chinese"></a>

## What's Changed

### 新增

- WebUI ChatUI 新增消息重新编辑、从重新生成 AI 回复、分支询问面板（划选 AI 回复内容即可看到）与会话 checkpoint 支持。（[#7673](https://github.com/AstrBotDevs/AstrBot/pull/7673)）
- WebUI ChatUI 适配思考时的工具调用的模式，并自动将该 Loop 过程合并到独立的侧边栏面板中，以时间线呈现，大幅提升用户体验。([#7742](https://github.com/AstrBotDevs/AstrBot/pull/7742))
- WebUI ChatUI 附件处理新增预览与 Dedup 校验，改善上传前的附件识别与展示体验，修复用户消息气泡无法正常显示图片的问题。（[commit](https://github.com/AstrBotDevs/AstrBot/commit/0748f0a42)）
- 知识库文档上传新增 EPUB 支持，并补充 EPUB 解析、文件读取与相关测试。（[#7594](https://github.com/AstrBotDevs/AstrBot/pull/7594)）
- 非流式 Agent Loop 新增中间工具调用消息过程折叠发送功能。（[#7627](https://github.com/AstrBotDevs/AstrBot/pull/7627)）
- 重新内置 `/provider` 命令，支持通过命令管理与查看 Provider 相关信息。（[#7691](https://github.com/AstrBotDevs/AstrBot/pull/7691)）
- 插件页新增“有新版本时置顶显示”能力，并支持保存该偏好设置。（[#7665](https://github.com/AstrBotDevs/AstrBot/pull/7665)）

### 优化

- 优化 FileReadTool 描述，明确图片、PDF 与 DOCX 支持，并增强工具结果的模态能力检查。（[#7506](https://github.com/AstrBotDevs/AstrBot/pull/7506)）
- 统一多处文档链接，修正 CLI、配置、Dashboard 与知识库页面中的文档入口。（[#7709](https://github.com/AstrBotDevs/AstrBot/pull/7709)）

### 修复

- 修复部分国内或自定义 OpenAI/Anthropic 兼容模型提供商因 TLS 证书链、代理或模型列表能力差异导致配置不可用的问题。（[#7685](https://github.com/AstrBotDevs/AstrBot/pull/7685)）
- 修复模型回复包含 reasoning content 时可能漏发普通回复的问题。（[#7715](https://github.com/AstrBotDevs/AstrBot/pull/7715)）
- 修复 QQ 官方 API 在 DNS 或连接瞬时异常下缺少重试导致请求失败的问题。（[#7718](https://github.com/AstrBotDevs/AstrBot/pull/7718)）
- 修复 `RegexFilter` 不能同时接受 `str` 与 `re.Pattern` 的问题。（[#7633](https://github.com/AstrBotDevs/AstrBot/pull/7633)）
- 修复备份导入器存在路径穿越风险的问题。（[#7681](https://github.com/AstrBotDevs/AstrBot/pull/7681)）
- 修复旧版 `documents_fts` 表残留时可能影响知识库 FTS 迁移的问题。（[#7706](https://github.com/AstrBotDevs/AstrBot/pull/7706)）
- 修复 MiniMax Token Plan Provider 在已配置模型不在硬编码列表中时直接阻塞的问题，改为警告提示。（[#7692](https://github.com/AstrBotDevs/AstrBot/pull/7692)）
- 修复 MCP schema 中无效 `required` 字段未被规范化导致工具 schema 异常的问题。（[#6077](https://github.com/AstrBotDevs/AstrBot/pull/6077)）
- 修复视频附件传给 LLM 时的处理问题，并补充相关测试。（[#7679](https://github.com/AstrBotDevs/AstrBot/pull/7679)）

<a id="english"></a>

## What's Changed (EN)

### New Features

- Added inline message editing, regeneration from a selected message, a thread panel, and conversation checkpoint support to the WebUI chat page. ([#7673](https://github.com/AstrBotDevs/AstrBot/pull/7673))
- Added chat attachment previews and file signature checks in WebUI to improve attachment recognition and display before upload. ([commit](https://github.com/AstrBotDevs/AstrBot/commit/0748f0a42))
- Added buffered intermediate messages for the non-streaming Agent Loop, allowing process messages such as tool calls to be surfaced in non-streaming scenarios. ([#7627](https://github.com/AstrBotDevs/AstrBot/pull/7627))
- Reintroduced `/provider` as a built-in command for viewing and managing Provider-related information. ([#7691](https://github.com/AstrBotDevs/AstrBot/pull/7691))
- Added an option to pin installed plugins with available updates to the top of the plugin page, with persisted preference storage. ([#7665](https://github.com/AstrBotDevs/AstrBot/pull/7665))
- Added EPUB support for knowledge-base document upload, including EPUB parsing, file reading support, and tests. ([#7594](https://github.com/AstrBotDevs/AstrBot/pull/7594))

### Improvements

- Updated the FileReadTool description to mention image, PDF, and DOCX support, and improved modality checks for tool results. ([#7506](https://github.com/AstrBotDevs/AstrBot/pull/7506))
- Unified documentation links across CLI output, configuration, Dashboard, and knowledge-base pages. ([#7709](https://github.com/AstrBotDevs/AstrBot/pull/7709))

### Bug Fixes

- Fixed missing normal replies when model output contains reasoning content. ([#7715](https://github.com/AstrBotDevs/AstrBot/pull/7715))
- Added retries for transient DNS and connection errors in the QQ Official API flow. ([#7718](https://github.com/AstrBotDevs/AstrBot/pull/7718))
- Fixed `RegexFilter` so it accepts both `str` and `re.Pattern`. ([#7633](https://github.com/AstrBotDevs/AstrBot/pull/7633))
- Fixed a path traversal vulnerability in the backup importer. ([#7681](https://github.com/AstrBotDevs/AstrBot/pull/7681))
- Dropped legacy `documents_fts` tables when present to avoid knowledge-base FTS migration issues. ([#7706](https://github.com/AstrBotDevs/AstrBot/pull/7706))
- Fixed configuration failures for some domestic or custom OpenAI/Anthropic-compatible model providers caused by TLS certificate chains, proxy handling, or model-list capability differences. ([#7685](https://github.com/AstrBotDevs/AstrBot/pull/7685))
- Changed MiniMax Token Plan Provider behavior to warn instead of blocking when a configured model is not in the hardcoded model list. ([#7692](https://github.com/AstrBotDevs/AstrBot/pull/7692))
- Normalized invalid `required` flags in MCP schemas to avoid tool schema errors. ([#6077](https://github.com/AstrBotDevs/AstrBot/pull/6077))
- Fixed video attachment handling for LLM requests and added related tests. ([#7679](https://github.com/AstrBotDevs/AstrBot/pull/7679))
