From 3e3599835eb57e69e48a82e50cacabda187778fe Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Fri, 26 Dec 2025 22:39:59 +0800 Subject: [PATCH] chore: bump version to 4.10.3 --- astrbot/cli/__init__.py | 2 +- astrbot/core/config/default.py | 2 +- changelogs/v4.10.3.md | 18 ++++++++++++++++++ pyproject.toml | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 changelogs/v4.10.3.md diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index cf44e2fd5..d32a48d93 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.10.2" +__version__ = "4.10.3" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index b45917026..d81662adf 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.10.2" +VERSION = "4.10.3" DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") WEBHOOK_SUPPORTED_PLATFORMS = [ diff --git a/changelogs/v4.10.3.md b/changelogs/v4.10.3.md new file mode 100644 index 000000000..ae679954b --- /dev/null +++ b/changelogs/v4.10.3.md @@ -0,0 +1,18 @@ +## What's Changed + +### 修复 + +1. 修复 FishAudio TTS 不可用的问题; +2. 修复 Anthropic API Chat Provider 部分情况下请求报错的问题; +3. 修复部分情况下 WebUI 日志重建连接之后丢失日志的问题; +4. 修复部分情况下 /provider 指令报错 index out of range 的问题; +5. 修复通过 `uv` 或者 cli 方式启动 AstrBot,缺少所有内置插件的问题。 + +### 优化 + +1. 丢弃值为 None 的 `tool_call_id` 和 `tool_calls` 字段,提高接口兼容性。 + +### 新增 + +1. 支持备份 AstrBot 数据和导入数据功能(Beta)。入口:WebUi -> 设置 -> 备份。 +2. text_chat 和 text_chat_stream 接口支持额外用户内容块参数 `extra_user_content_parts`,用于在用户消息后添加额外的内容块(如系统提醒、指令等)。 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 0fcf870e5..26127ec1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.10.2" +version = "4.10.3" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"