feat: sync readme

This commit is contained in:
故璃
2026-06-25 14:22:26 +08:00
parent 0797b0767f
commit 1851ec85f0
4 changed files with 35 additions and 8 deletions
+9 -2
View File
@@ -129,6 +129,13 @@ bl workspace list # List all workspaces
bl quota list # View RPM/TPM limits (add --model to filter)
bl quota check # Current usage vs rate limits (add --model/--period)
bl quota request --model qwen3.6-plus --tpm 6000000 # Request a temporary TPM increase
bl quota history # View quota-change history
# Token Plan team management (requires AK/SK, see auth below)
bl token-plan list-seats # View subscription seat details
bl token-plan add-member --account-name dev --org-id org_xxx
bl token-plan assign-seats --workspace-id ws_xxx --seat-type standard --account-id acc_xxx
bl token-plan create-key --account-id acc_xxx --workspace-id ws_xxx
```
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
@@ -158,9 +165,9 @@ Required for console capability commands (`app list`, `usage free`, `usage stats
bl auth login --console
```
### Alibaba Cloud AK/SK (Knowledge Base only)
### Alibaba Cloud AK/SK (Knowledge Base & Token Plan)
Required for `knowledge retrieve`. Get your AccessKey from [RAM Console](https://ram.console.aliyun.com/manage/ak).
Required for `knowledge retrieve` and the `token-plan` command group. Get your AccessKey from [RAM Console](https://ram.console.aliyun.com/manage/ak).
> Recommended: create a RAM sub-account with minimum privileges instead of using the root account's AK/SK.
+13 -3
View File
@@ -83,7 +83,10 @@ npx skills add modelstudioai/cli --all -g
## 快速开始
```bash
# 认证
# 认证(推荐浏览器登录)
bl auth login --console
# 或使用 API key 认证
bl auth login --api-key sk-xxxxx
# 和通义千问对话
@@ -124,6 +127,13 @@ bl workspace list # 列出所有业务空间
bl quota list # 查看 RPM/TPM 限额(加 --model 过滤)
bl quota check # 当前用量 vs 限流阈值(加 --model/--period)
bl quota request --model qwen3.6-plus --tpm 6000000 # 申请临时 TPM 提额
bl quota history # 查看提额历史记录
# Token Plan 团队版管理(需 AK/SK,见下方认证说明)
bl token-plan list-seats # 查看订阅席位明细
bl token-plan add-member --account-name dev --org-id org_xxx
bl token-plan assign-seats --workspace-id ws_xxx --seat-type standard --account-id acc_xxx
bl token-plan create-key --account-id acc_xxx --workspace-id ws_xxx
```
> 更多案例与使用场景:[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
@@ -153,9 +163,9 @@ bl text chat --api-key sk-xxxxx --message "你好"
bl auth login --console
```
### 阿里云 AK/SK(仅知识库检索)
### 阿里云 AK/SK(知识库检索与 Token Plan)
`knowledge retrieve` 命令需要阿里云 AccessKey。前往 [RAM 控制台](https://ram.console.aliyun.com/manage/ak) 获取。
`knowledge retrieve` 与 `token-plan` 命令组需要阿里云 AccessKey。前往 [RAM 控制台](https://ram.console.aliyun.com/manage/ak) 获取。
> 建议:创建 RAM 子账号并授予最小权限,避免使用主账号 AK/SK。
+9 -2
View File
@@ -129,6 +129,13 @@ bl workspace list # List all workspaces
bl quota list # View RPM/TPM limits (add --model to filter)
bl quota check # Current usage vs rate limits (add --model/--period)
bl quota request --model qwen3.6-plus --tpm 6000000 # Request a temporary TPM increase
bl quota history # View quota-change history
# Token Plan team management (requires AK/SK, see auth below)
bl token-plan list-seats # View subscription seat details
bl token-plan add-member --account-name dev --org-id org_xxx
bl token-plan assign-seats --workspace-id ws_xxx --seat-type standard --account-id acc_xxx
bl token-plan create-key --account-id acc_xxx --workspace-id ws_xxx
```
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
@@ -158,9 +165,9 @@ Required for console capability commands (`app list`, `usage free`, `usage stats
bl auth login --console
```
### Alibaba Cloud AK/SK (Knowledge Base only)
### Alibaba Cloud AK/SK (Knowledge Base & Token Plan)
Required for `knowledge retrieve`. Get your AccessKey from [RAM Console](https://ram.console.aliyun.com/manage/ak).
Required for `knowledge retrieve` and the `token-plan` command group. Get your AccessKey from [RAM Console](https://ram.console.aliyun.com/manage/ak).
> Recommended: create a RAM sub-account with minimum privileges instead of using the root account's AK/SK.
+4 -1
View File
@@ -83,7 +83,10 @@ npx skills add modelstudioai/cli --all -g
## 快速开始
```bash
# 认证
# 认证(推荐浏览器登录)
bl auth login --console
# 或使用 API key 认证
bl auth login --api-key sk-xxxxx
# 和通义千问对话