Skip to content

Commit e9be8cf

Browse files
committed
chore: bump version to 4.7.4
1 parent 31d53ed commit e9be8cf

4 files changed

Lines changed: 40 additions & 33 deletions

File tree

astrbot/cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.7.3"
1+
__version__ = "4.7.4"

astrbot/core/config/default.py

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from astrbot.core.utils.astrbot_path import get_astrbot_data_path
66

7-
VERSION = "4.7.3"
7+
VERSION = "4.7.4"
88
DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db")
99

1010
# 默认配置
@@ -2422,36 +2422,36 @@
24222422
"provider_settings.enable": True,
24232423
},
24242424
},
2425-
"file_extract": {
2426-
"description": "文档解析能力",
2427-
"type": "object",
2428-
"items": {
2429-
"provider_settings.file_extract.enable": {
2430-
"description": "启用文档解析能力",
2431-
"type": "bool",
2432-
},
2433-
"provider_settings.file_extract.provider": {
2434-
"description": "文档解析提供商",
2435-
"type": "string",
2436-
"options": ["moonshotai"],
2437-
"condition": {
2438-
"provider_settings.file_extract.enable": True,
2439-
},
2440-
},
2441-
"provider_settings.file_extract.moonshotai_api_key": {
2442-
"description": "Moonshot AI API Key",
2443-
"type": "string",
2444-
"condition": {
2445-
"provider_settings.file_extract.provider": "moonshotai",
2446-
"provider_settings.file_extract.enable": True,
2447-
},
2448-
},
2449-
},
2450-
"condition": {
2451-
"provider_settings.agent_runner_type": "local",
2452-
"provider_settings.enable": True,
2453-
},
2454-
},
2425+
# "file_extract": {
2426+
# "description": "文档解析能力 [beta]",
2427+
# "type": "object",
2428+
# "items": {
2429+
# "provider_settings.file_extract.enable": {
2430+
# "description": "启用文档解析能力",
2431+
# "type": "bool",
2432+
# },
2433+
# "provider_settings.file_extract.provider": {
2434+
# "description": "文档解析提供商",
2435+
# "type": "string",
2436+
# "options": ["moonshotai"],
2437+
# "condition": {
2438+
# "provider_settings.file_extract.enable": True,
2439+
# },
2440+
# },
2441+
# "provider_settings.file_extract.moonshotai_api_key": {
2442+
# "description": "Moonshot AI API Key",
2443+
# "type": "string",
2444+
# "condition": {
2445+
# "provider_settings.file_extract.provider": "moonshotai",
2446+
# "provider_settings.file_extract.enable": True,
2447+
# },
2448+
# },
2449+
# },
2450+
# "condition": {
2451+
# "provider_settings.agent_runner_type": "local",
2452+
# "provider_settings.enable": True,
2453+
# },
2454+
# },
24552455
"others": {
24562456
"description": "其他配置",
24572457
"type": "object",

changelogs/v4.7.4.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## What's Changed
2+
3+
1. 修复:assistant message 中 tool_call 存在但 content 不存在时,导致验证错误的问题 ([#3862](https://github.com/AstrBotDevs/AstrBot/issues/3862))
4+
2. 修复:fix: aiocqhttp 适配器 NapCat 文件名获取为空 ([#3853](https://github.com/AstrBotDevs/AstrBot/issues/3853))
5+
3. 新增:升级所有插件按钮
6+
4. 新增:/provider 指令支持同时测试提供商可用性
7+
5. 优化:主动回复的 prompt

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "AstrBot"
3-
version = "4.7.3"
3+
version = "4.7.4"
44
description = "Easy-to-use multi-platform LLM chatbot and development framework"
55
readme = "README.md"
66
requires-python = ">=3.10"

0 commit comments

Comments
 (0)