diff --git a/astrbot/cli/__init__.py b/astrbot/cli/__init__.py index cec8eb68..8358b03c 100644 --- a/astrbot/cli/__init__.py +++ b/astrbot/cli/__init__.py @@ -1 +1 @@ -__version__ = "4.7.3" +__version__ = "4.7.4" diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index b9f71faf..b91c57c6 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -4,7 +4,7 @@ import os 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") # 默认配置 @@ -2422,36 +2422,36 @@ CONFIG_METADATA_3 = { "provider_settings.enable": True, }, }, - "file_extract": { - "description": "文档解析能力", - "type": "object", - "items": { - "provider_settings.file_extract.enable": { - "description": "启用文档解析能力", - "type": "bool", - }, - "provider_settings.file_extract.provider": { - "description": "文档解析提供商", - "type": "string", - "options": ["moonshotai"], - "condition": { - "provider_settings.file_extract.enable": True, - }, - }, - "provider_settings.file_extract.moonshotai_api_key": { - "description": "Moonshot AI API Key", - "type": "string", - "condition": { - "provider_settings.file_extract.provider": "moonshotai", - "provider_settings.file_extract.enable": True, - }, - }, - }, - "condition": { - "provider_settings.agent_runner_type": "local", - "provider_settings.enable": True, - }, - }, + # "file_extract": { + # "description": "文档解析能力 [beta]", + # "type": "object", + # "items": { + # "provider_settings.file_extract.enable": { + # "description": "启用文档解析能力", + # "type": "bool", + # }, + # "provider_settings.file_extract.provider": { + # "description": "文档解析提供商", + # "type": "string", + # "options": ["moonshotai"], + # "condition": { + # "provider_settings.file_extract.enable": True, + # }, + # }, + # "provider_settings.file_extract.moonshotai_api_key": { + # "description": "Moonshot AI API Key", + # "type": "string", + # "condition": { + # "provider_settings.file_extract.provider": "moonshotai", + # "provider_settings.file_extract.enable": True, + # }, + # }, + # }, + # "condition": { + # "provider_settings.agent_runner_type": "local", + # "provider_settings.enable": True, + # }, + # }, "others": { "description": "其他配置", "type": "object", diff --git a/changelogs/v4.7.4.md b/changelogs/v4.7.4.md new file mode 100644 index 00000000..3929f974 --- /dev/null +++ b/changelogs/v4.7.4.md @@ -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 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index a537180c..6490b65a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "AstrBot" -version = "4.7.3" +version = "4.7.4" description = "Easy-to-use multi-platform LLM chatbot and development framework" readme = "README.md" requires-python = ">=3.10"