chore: bump version to 4.7.4

This commit is contained in:
Soulter
2025-12-01 18:42:07 +08:00
parent 31d53edb9d
commit e9be8cf69f
4 changed files with 40 additions and 33 deletions
+1 -1
View File
@@ -1 +1 @@
__version__ = "4.7.3" __version__ = "4.7.4"
+31 -31
View File
@@ -4,7 +4,7 @@ import os
from astrbot.core.utils.astrbot_path import get_astrbot_data_path from astrbot.core.utils.astrbot_path import get_astrbot_data_path
VERSION = "4.7.3" VERSION = "4.7.4"
DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db")
# 默认配置 # 默认配置
@@ -2422,36 +2422,36 @@ CONFIG_METADATA_3 = {
"provider_settings.enable": True, "provider_settings.enable": True,
}, },
}, },
"file_extract": { # "file_extract": {
"description": "文档解析能力", # "description": "文档解析能力 [beta]",
"type": "object", # "type": "object",
"items": { # "items": {
"provider_settings.file_extract.enable": { # "provider_settings.file_extract.enable": {
"description": "启用文档解析能力", # "description": "启用文档解析能力",
"type": "bool", # "type": "bool",
}, # },
"provider_settings.file_extract.provider": { # "provider_settings.file_extract.provider": {
"description": "文档解析提供商", # "description": "文档解析提供商",
"type": "string", # "type": "string",
"options": ["moonshotai"], # "options": ["moonshotai"],
"condition": { # "condition": {
"provider_settings.file_extract.enable": True, # "provider_settings.file_extract.enable": True,
}, # },
}, # },
"provider_settings.file_extract.moonshotai_api_key": { # "provider_settings.file_extract.moonshotai_api_key": {
"description": "Moonshot AI API Key", # "description": "Moonshot AI API Key",
"type": "string", # "type": "string",
"condition": { # "condition": {
"provider_settings.file_extract.provider": "moonshotai", # "provider_settings.file_extract.provider": "moonshotai",
"provider_settings.file_extract.enable": True, # "provider_settings.file_extract.enable": True,
}, # },
}, # },
}, # },
"condition": { # "condition": {
"provider_settings.agent_runner_type": "local", # "provider_settings.agent_runner_type": "local",
"provider_settings.enable": True, # "provider_settings.enable": True,
}, # },
}, # },
"others": { "others": {
"description": "其他配置", "description": "其他配置",
"type": "object", "type": "object",
+7
View File
@@ -0,0 +1,7 @@
## What's Changed
1. 修复:assistant message 中 tool_call 存在但 content 不存在时,导致验证错误的问题 ([#3862](https://github.com/AstrBotDevs/AstrBot/issues/3862))
2. 修复:fix: aiocqhttp 适配器 NapCat 文件名获取为空 ([#3853](https://github.com/AstrBotDevs/AstrBot/issues/3853))
3. 新增:升级所有插件按钮
4. 新增:/provider 指令支持同时测试提供商可用性
5. 优化:主动回复的 prompt
+1 -1
View File
@@ -1,6 +1,6 @@
[project] [project]
name = "AstrBot" name = "AstrBot"
version = "4.7.3" version = "4.7.4"
description = "Easy-to-use multi-platform LLM chatbot and development framework" description = "Easy-to-use multi-platform LLM chatbot and development framework"
readme = "README.md" readme = "README.md"
requires-python = ">=3.10" requires-python = ">=3.10"