Skip to content

Commit ba7b315

Browse files
authored
chore: bump version to 4.27.1 (#9520)
* test: support latest OpenAI usage schema * chore: bump version to 4.27.1
1 parent 6c19f34 commit ba7b315

4 files changed

Lines changed: 39 additions & 3 deletions

File tree

astrbot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import logging
22

3-
__version__ = "4.27.0"
3+
__version__ = "4.27.1"
44
logger = logging.getLogger("astrbot")

changelogs/v4.27.1.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## [4.27.1] - 2026-08-02
2+
3+
### Added
4+
5+
- Added `-y` / `--yes` to `astrbot init` so unattended deployments can skip the installation confirmation prompt. (#9514)
6+
- Added an independent stateless Responses API provider for OpenAI-compatible endpoints, including OpenAI and DeepSeek templates, full-history replay for reasoning and tool calls, and Responses API as the default for new xAI providers. (#9515)
7+
8+
### Fixed
9+
10+
- Included the built-in `skill-creator`, `documents`, `pdf`, and `spreadsheets` Skills announced in v4.27.0 in source and Docker distributions, with read-only preset discovery and local override support. (#9517)
11+
- Corrected capability chip colors in dark mode.
12+
13+
### Maintenance
14+
15+
- Kept Responses API test fixtures compatible with the latest OpenAI SDK token-usage schema.
16+
17+
## 中文
18+
19+
### 新增
20+
21+
-`astrbot init` 新增 `-y` / `--yes` 选项,便于无人值守部署跳过安装确认提示。 (#9514)
22+
- 新增独立、无状态的 OpenAI 兼容 Responses API 供应商,提供 OpenAI 和 DeepSeek 模板,支持完整重放推理与工具调用历史,并将 Responses API 设为新建 xAI 供应商的默认接口。 (#9515)
23+
24+
### 修复
25+
26+
- 将 v4.27.0 公告中的内置 `skill-creator``documents``pdf``spreadsheets` Skills 实际加入源码与 Docker 发行版,支持作为只读预置能力自动发现,并允许同名本地 Skill 覆盖。 (#9517)
27+
- 修正深色模式下的能力标签颜色。
28+
29+
### 维护
30+
31+
- 使 Responses API 测试数据兼容最新 OpenAI SDK 的 Token 用量结构。
32+
33+
[4.27.1]: https://github.com/AstrBotDevs/AstrBot/compare/v4.27.0...v4.27.1

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.27.0"
3+
version = "4.27.1"
44
description = "Easy-to-use multi-platform LLM chatbot and development framework"
55
readme = "README.md"
66
license = { text = "AGPL-3.0-or-later" }

tests/test_openai_responses_source.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ def _make_response(output: list[dict], **overrides) -> Response:
3434
"output": output,
3535
"usage": {
3636
"input_tokens": 10,
37-
"input_tokens_details": {"cached_tokens": 3},
37+
"input_tokens_details": {
38+
"cached_tokens": 3,
39+
"cache_write_tokens": 0,
40+
},
3841
"output_tokens": 4,
3942
"output_tokens_details": {"reasoning_tokens": 2},
4043
"total_tokens": 14,

0 commit comments

Comments
 (0)