Skip to content

Commit 386ff0f

Browse files
committed
feat: update changelog
1 parent a72f050 commit 386ff0f

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
2121
- `bl quota history` — view quota change history with pagination.
2222
- `bl quota request` — request a temporary quota increase for a model.
2323
- `bl workspace list` — list all workspaces with region and endpoint details.
24+
- `bl knowledge retrieve` now supports API-Key authentication (DashScope gateway), in addition to AK/SK. API-Key is auto-detected and preferred when available.
25+
- New retrieval options: `--dense-similarity-top-k`, `--sparse-similarity-top-k`, `--rerank-model`, `--rerank-mode`, `--rerank-instruct` — supported on both API-Key and AK/SK paths.
26+
- `DashScopeKnowledgeRetrieveRequest` / `DashScopeKnowledgeRetrieveResponse` types and `knowledgeRetrieveEndpoint` added to `bailian-cli-core`.
27+
- Comprehensive E2E tests for knowledge retrieve covering both auth paths, dry-run, rerank flags, and error cases.
28+
29+
### Changed
30+
31+
- Credential resolution priority: explicit API-Key → explicit AK/SK flags → auto-detected API-Key → fallback AK/SK from config/env.
32+
- `--workspace-id` is now only required for AK/SK auth, no longer mandatory for API-Key mode.
33+
- `--top-k` deprecated in favor of `--rerank-top-n`; emits a warning and maps to `--rerank-top-n` when used.
34+
- `--access-key-id` / `--access-key-secret` flags marked as deprecated (API-Key is recommended).
35+
- API Key and console links updated to direct key management pages across all docs.
36+
37+
### Fixed
38+
39+
- `--rerank` flag in AK/SK path now correctly sets `EnableReranking` instead of the non-functional `Rerank: true` boolean.
2440
=======
2541
## [1.3.0] - 2026-06-10
2642

CHANGELOG.zh.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,20 @@
66

77
[English](CHANGELOG.md) · [README](README.zh.md) · [参与贡献](CONTRIBUTING.zh.md)
88

9-
## [1.3.0] - 2026-06-10
9+
## [1.3.0] - 2026-06-11
1010

1111
### 新增
1212

13+
- `bl usage` 命令组:
14+
- `bl usage free` — 查询所有模型的免费额度(可通过 `--model` 指定模型)。
15+
- `bl usage freetier` — 启用(`--on`)或禁用(`--off`)免费额度模型的自动停服。
16+
- `bl usage stats` — 查询模型用量统计(需指定 `--workspace-id`)。
17+
- `bl quota` 命令组:
18+
- `bl quota list` — 查看模型 RPM/TPM 速率限制(支持 `--model` 过滤,`--all` 展示全部)。
19+
- `bl quota check` — 查看当前 RPM/TPM 用量与速率限制。
20+
- `bl quota history` — 查看配额变更记录,支持分页。
21+
- `bl quota request` — 申请模型临时配额提升。
22+
- `bl workspace list` — 列出所有业务空间,包含地域和 endpoint 信息。
1323
- `bl knowledge retrieve` 新增 API-Key 鉴权(DashScope 网关),与原有 AK/SK 并存,可用时自动优先使用 API-Key。
1424
- 新增检索参数:`--dense-similarity-top-k``--sparse-similarity-top-k``--rerank-model``--rerank-mode``--rerank-instruct`,API-Key 与 AK/SK 两条链路均支持。
1525
- `bailian-cli-core` 新增 `DashScopeKnowledgeRetrieveRequest` / `DashScopeKnowledgeRetrieveResponse` 类型及 `knowledgeRetrieveEndpoint` 端点。

0 commit comments

Comments
 (0)