You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 17c269b
Browse filesBrowse the repository at this point in the historyBrowse files
-`bl config agent` adds `--agent pi` to configure Pi to use Bailian models.
15
+
-`bl mcp connect` / `bl mcp disconnect` add `--agent pi` to register or remove Bailian MCP servers.
16
+
17
+
### Fixed
18
+
19
+
-**Global flag placement** — Use global flags before the complete command path, for example `bl --config token-plan auth status`; command-specific and credential flags must follow the path.
20
+
-**Parameter validation and messages** — Help and version queries validate supplied flags. Only explicitly declared flag names are accepted, and parsing errors support English and Chinese messages based on the configured language.
21
+
-**File upload timeout** — Use `--timeout` to set the transfer timeout when uploading local files to temporary OSS storage.
22
+
23
+
## [2.2.2] - 2026-10-14
24
+
25
+
### Added
26
+
27
+
-**Model compression lifecycle** — Added `bl finetune compress templates/create/list/get/watch/logs/cancel/delete` for quantizing supported full-parameter fine-tuned models, including dry-run previews, status polling, log retrieval, and safe deletion confirmation.
28
+
-**Pi agent support** — `bl config agent` and `bl mcp connect` / `bl mcp disconnect` now support Pi, writing its native configuration while preserving existing settings and redacting credentials in output.
29
+
-**Global flags before the command path** — Global flags such as `--config` can now precede the command (`bl --config token-plan auth status`) as well as follow it; both select the Profile for that invocation only, without changing `active_config`. Command-specific and credential flags must still follow the command path.
30
+
-**Decision model inference** — Added `bl decision` for TypeSafe System One requests against workspace-scoped endpoints, including `choice` / `noul` / `score` validation, JSON and text output, training-sample reuse, Beijing/Singapore routing, and dry-run previews.
31
+
32
+
### Changed
33
+
34
+
-**Decision dataset validation** — Aligned the `decision` schema with the current API: `state` may be a string, object, or array; `instructions` is optional; and question criteria now enforce API limits.
35
+
-**Stricter flag validation** — Only flags defined for a command are accepted. Unknown flags, missing values, and invalid values now return usage exit code 2 even when the invocation would otherwise show help, and parser errors follow the Profile language. A bare root or command-group invocation still shows help and returns 0. `--timeout` uses the same positive-finite rule on the command line and in resolved settings.
36
+
37
+
### Fixed
38
+
39
+
-**Temporary file upload timeout** — Uploads of local files to temporary OSS storage now honor `--timeout` instead of a fixed 120-second limit.
[Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&) · [中文文档](https://github.com/modelstudioai/cli/blob/main/README.zh.md) · [API Documentation](https://help.aliyun.com/zh/model-studio/) · [Get API Key](https://bailian.console.aliyun.com/cn-beijing/?source_channel=key_github&tab=app#/api-key)
12
+
[Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?spm=a2ty07.github) · [中文文档](https://github.com/modelstudioai/cli/blob/main/README.zh.md) · [API Documentation](https://help.aliyun.com/zh/model-studio/) · [Get API Key](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key)
13
13
14
14
---
15
15
@@ -26,7 +26,7 @@ _Built for AI Agents. Every command works as a structured tool call._
26
26
-**Model generation** — Full-modality generation across text, image, video, and speech, with editing and reference-based generation
27
27
-**Asset understanding** — Parse and ask questions about images, documents, audio, and long videos
28
28
-**App orchestration** — Call Managed Agents, agents, and workflows published on Aliyun Model Studio, wired to knowledge bases, memory, web search, and MCP tools
29
-
-**Native MCP setup** — Register Bailian MCP servers in Codex, Claude Code, Cursor, Qoder, Qoder Work, QwenWork (千问办公), Qwen Code, Gemini CLI, or Pi with channel attribution preserved
29
+
-**Native MCP setup** — Register Bailian MCP servers in Codex, Claude Code, Cursor, Qoder, Qoder Work, QwenWork (千问办公), Qwen Code, Gemini CLI, or Pi
30
30
-**Training & deployment** — Validate and upload datasets, fine-tune models, deploy dedicated models as endpoints
31
31
-**Account operations** — Login, UI-based configuration, model marketplace, usage and quota, rate-limit increases, team seat management
32
32
-**Plan onboarding** — Connect subscription plans such as Token Plan to the CLI and common coding agents in one step
@@ -67,7 +67,7 @@ One sentence builds a reusable cloud-side short-film director for storyboarding,
67
67
68
68
-**[Qwen Code](https://github.com/QwenLM/qwen-code)** — understands the requirement and generates the agent configuration
69
69
-**[Aliyun Model Studio CLI](https://github.com/modelstudioai/cli/)** — validates the configuration, previews the changes, and completes the deployment
70
-
-**[Managed Agent](https://bailian.console.aliyun.com/cn-beijing/?tab=managed-agents#/managed-agents/quick-start)** — runs the director role along with its skills and tools in the cloud
70
+
-**[Managed Agent](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=managed-agents#/managed-agents/quick-start)** — runs the director role along with its skills and tools in the cloud
71
71
72
72
### The single prompt
73
73
@@ -121,9 +121,10 @@ Once installed, just describe your task to your AI Agent — no need to assemble
121
121
| Monitoring & alerts | "Show my model call stats, failures and logs, and create an alert rule." |
122
122
| Throughput reservations | "List my throughput reservations and capacity instances, then scale, renew or release capacity and wait for the operation to finish." |
123
123
| Model selection | "Recommend a model for image understanding and customer support." |
124
+
| Decision model | "Use the Bailian decision model to route this ticket and assess whether it needs escalation." |
124
125
| About Bailian CLI | "Tell me what Bailian CLI can do for me, and suggest how to use it for my needs." |
125
126
126
-
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
127
+
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?spm=a2ty07.github)
127
128
128
129
## Authentication
129
130
@@ -145,7 +146,7 @@ To use an existing ordinary API key or a Token Plan subscription key, run the sa
145
146
bl auth login --api-key <API_KEY>
146
147
```
147
148
148
-
Get an ordinary key from the [DashScope Console](https://bailian.console.aliyun.com/cn-beijing/?source_channel=key_github&tab=app#/api-key), or a Token Plan key from the [subscription overview](https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview).
149
+
Get an ordinary key from the [DashScope Console](https://bailian.console.aliyun.com/cn-beijing/?spm=a2ty07.github&tab=app#/api-key), or a Token Plan key from the [subscription overview](https://bailian.console.aliyun.com/cn-beijing?spm=a2ty07.github&tab=plan#/efm/subscription/overview).
149
150
150
151
### Alibaba Cloud OpenAPI AK/SK
151
152
@@ -193,12 +194,12 @@ Scan the QR code to join the Aliyun Model Studio CLI DingTalk user group for usa
0 commit comments