From e1c728582dfc76a522df09bfa3f18b19ff882f2b Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 30 Nov 2025 00:18:12 +0800 Subject: [PATCH] chore: bump version to 4.7.2 --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.7.2.md | 24 ++++++++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.7.2.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index cc72154c1..98c926d16 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.7.1" +__version__ = "4.7.2" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 25ec24388..455712535 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -4,7 +4,7 @@ import os from astrbot.core.utils.astrbot_path import get_astrbot_data_path -VERSION = "4.7.1" +VERSION = "4.7.2" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") # 默认配置 diff --git a/changelogs/v4.7.2.md b/changelogs/v4.7.2.md new file mode 100644 index 000000000..080c86a30 --- /dev/null +++ b/changelogs/v4.7.2.md @@ -0,0 +1,24 @@ +## What's Changed + +1. 修复使用非默认配置文件情况下时,第三方 Agent Runner (Dify、Coze、阿里云百炼应用等)无法正常工作的问题 +2. 修复当“聊天模型”未设置,并且模型提供商中仅有 Agent Runner 时,无法正常使用 Agent Runner 的问题 +3. 新增群聊模式下的专用图片转述模型配置 ([#3822](https://github.com/AstrBotDevs/AstrBot/issues/3822)) + +--- + +重构: +- 将 Dify、Coze、阿里云百炼应用等 LLMOps 提供商迁移到 Agent 执行器层,理清和本地 Agent 执行器的边界。详见:[Agent 执行器](https://docs.astrbot.app/use/agent-runner.html) +- 将「会话管理」功能重构为「自定义规则」功能,理清和多配置文件功能的边界。详见:[自定义规则](https://docs.astrbot.app/use/custom-rules.html) + +优化: +- Dify、阿里云百炼应用支持流式输出 +- 防止分段回复正则表达式解析错误导致消息不发送 +- 群聊上下文感知记录 At 信息 +- 优化模型提供商页面的测试提供商功能 + +新增: +- 支持在配置文件页面快速测试对话 +- 为配置文件配置项内容添加国际化支持 + +修复: +- 在更新 MCP Server 配置后,MCP 无法正常重启的问题 diff --git a/pyproject.toml b/pyproject.toml index eaa4b84fe..7b1cc9e9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.7.1" +version = "4.7.2" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"