From 1cf673154c8db0e0589db62ed3c399ed332662fb Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 24 Jan 2026 14:55:32 +0800 Subject: [PATCH] chore: bump version to 4.12.4 --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.12.4.md | 21 +++++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.12.4.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index c1e7d6e85..b92b622d2 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.12.3" +__version__ = "4.12.4" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 3ae0568ae..929a5ae5b 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -5,7 +5,7 @@ from typing import Any, TypedDict from astrbot.core.utils.astrbot_path import get_astrbot_data_path -VERSION = "4.12.3" +VERSION = "4.12.4" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.12.4.md b/changelogs/v4.12.4.md new file mode 100644 index 000000000..c3a07980d --- /dev/null +++ b/changelogs/v4.12.4.md @@ -0,0 +1,21 @@ +## 更新内容 + +### 新功能 +- 为 ChatUI 添加文件拖拽上传功能 ([#4583](https://github.com/AstrBotDevs/AstrBot/issues/4583)) +- 实现人格文件夹以进行高级人格管理 ([#4443](https://github.com/AstrBotDevs/AstrBot/issues/4443)) +- 添加人格文件夹管理以支持层级组织 (db) +- 支持 Genie TTS + +### 修复 +- 增强提供商选择错误处理和日志记录,避免出现 `Provider 不是 Provider 类型` 的错误 ([#4654](https://github.com/AstrBotDevs/AstrBot/issues/4654)) +- aiocqhttp 适配器中的 Markdown KeyError 或 UnboundLocalError 问题 ([#4656](https://github.com/AstrBotDevs/AstrBot/issues/4656)) +- 确保 providers 中的 embedding 维度作为整数返回 ([#4547](https://github.com/AstrBotDevs/AstrBot/issues/4547)) +- 钉钉流式响应问题 ([#4590](https://github.com/AstrBotDevs/AstrBot/issues/4590)) +- 提供商选择按钮被长模型名称遮挡的问题 ([#4631](https://github.com/AstrBotDevs/AstrBot/issues/4631)) +- 更新 `web_search_tavily` 处理,避免在非 ChatUI 平台出现信息引用 ([#4633](https://github.com/AstrBotDevs/AstrBot/issues/4633)) + +### 性能优化 +- T2I 模板编辑器预览 ([#4574](https://github.com/AstrBotDevs/AstrBot/issues/4574)) + +### 杂项 +- 移除已弃用的 `tool` 命令 diff --git a/pyproject.toml b/pyproject.toml index 8a430c259..0dd6a7b9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.12.3" +version = "4.12.4" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"