From a663d6509bbd18ceea38195cf2e5414fe5267c17 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 14 Sep 2025 21:07:36 +0800 Subject: [PATCH] chore: bump version to 4.1.2 --- astrbot/core/config/default.py | 2 +- changelogs/v4.1.1.md | 12 ------------ changelogs/v4.1.2.md | 9 +++++++++ pyproject.toml | 2 +- 4 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 changelogs/v4.1.2.md diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 32746804d..05daeb10b 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -6,7 +6,7 @@ import os from astrbot.core.utils.astrbot_path import get_astrbot_data_path -VERSION = "4.1.1" +VERSION = "4.1.2" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") # 默认配置 diff --git a/changelogs/v4.1.1.md b/changelogs/v4.1.1.md index 9445dab84..f3ab128f7 100644 --- a/changelogs/v4.1.1.md +++ b/changelogs/v4.1.1.md @@ -3,15 +3,3 @@ 修复了 v4.1.0 `model referenced before assignment` 的错误。 > 如果已经使用自定义文转图模板,此次升级之后将会被覆盖,请提前备份。路径在 `astrbot/core/utils/t2i/template` 目录下。 - -0. ‼️‼️‼️ 修复 LLM 仍会调用已禁用的工具的问题 ([#2729](https://github.com/Soulter/AstrBot/issues/2729)) -1. ‼️ 修复 WebChat 下,Agent 长时任务时,SSE 连接自动断开的问题 -2. ‼️ 修复自定义文转图模板更新版本后会被覆盖的问题 ([#2677](https://github.com/Soulter/AstrBot/issues/2677)) -3. 修复 Satori 适配器教程链接 ([#2668](https://github.com/Soulter/AstrBot/issues/2668)) -4. 修复插件页表格视图中,点击状态字段表头排序不起作用的问题 ([#2714](https://github.com/Soulter/AstrBot/issues/2714)) -5. 修复工具调用时的 content 内容在重新加载后没有显示在 webchat 的问题 ([#2727](https://github.com/Soulter/AstrBot/issues/2727)) -6. 允许添加多个 tavily API Key 进行轮询 ([#2725](https://github.com/Soulter/AstrBot/issues/2725)) -7. 添加 --webui-dir 启动参数以支持指定 WebUI 构建文件目录 ([#2680](https://github.com/Soulter/AstrBot/issues/2680)) -8. 兼容指令名和第一个参数之间没有空格的情况 ([#2650](https://github.com/Soulter/AstrBot/issues/2650)) -9. 支持在 WebUI 自定义 OpenAI API extra_body 参数 ([#2719](https://github.com/Soulter/AstrBot/issues/2719)) -10. 增加 on_platform_loaded 钩子以在消息平台适配器实例化完成后触发 ([#2651](https://github.com/Soulter/AstrBot/issues/2651)) diff --git a/changelogs/v4.1.2.md b/changelogs/v4.1.2.md new file mode 100644 index 000000000..919a4aa1b --- /dev/null +++ b/changelogs/v4.1.2.md @@ -0,0 +1,9 @@ +# What's Changed + +0. ‼️‼️‼️ fix: 修复 4.1.1 版本下,指令调用异常的问题 +1. ‼️‼️ fix: 修复多配置文件配置的不同人格无法生效的问题 ([#2739](https://github.com/AstrBotDevs/AstrBot/issues/2739)) +2. ‼️‼️ fix: 修复人格所选择的工具无法应用的问题 ([#2739](https://github.com/AstrBotDevs/AstrBot/issues/2739)) +3. ‼️‼️ fix: 修复平台配置下的「内容安全」组无法生效 ([#2751](https://github.com/AstrBotDevs/AstrBot/issues/2751)) +4. perf: 检查服务提供商可用性时跳过未启用的提供商,解决部分 `provider with id xxx not found` 的问题 + +fixes: [#2724](https://github.com/AstrBotDevs/AstrBot/issues/2724) diff --git a/pyproject.toml b/pyproject.toml index 9d529b9ca..acdf655e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.1.1" +version = "4.1.2" description = "易上手的多平台 LLM 聊天机器人及开发框架" readme = "README.md" requires-python = ">=3.10"