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
Copy file name to clipboardExpand all lines: skills/bailian-cli/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,8 +147,11 @@ More examples per command: see `reference/<group>.md` (e.g. [`reference/text.md`
147
147
Install, API key / console login, endpoint override, and config keys:
148
148
[`assets/setup.md`](assets/setup.md).
149
149
150
+
**Console login:** never run bare `bl auth login --console` — always pass `--console-site domestic` or `--console-site international`. Before login, run `bl config show --output json` and follow the site-selection rules in [`assets/setup.md` → Console site selection](assets/setup.md#console-site-selection).
151
+
150
152
```bash
151
153
bl auth status # check current auth
154
+
bl auth login --console --console-site international # example: international console
152
155
bl text chat --message "Write a poem about spring"# quick smoke test
153
156
```
154
157
@@ -197,3 +200,4 @@ Full workflow, redaction rules, template, and exit-code reference: [`assets/issu
197
200
- Video understanding with audio context → `bl omni`, not only `bl vision describe`.
198
201
- Search → `bl search web`.
199
202
- Local paths → pass directly to `bl`; never require the user to obtain URLs first.
203
+
- Console login → always `--console-site domestic|international`; see [`assets/setup.md`](assets/setup.md#console-site-selection).
| International |`international`|`https://modelstudio.console.alibabacloud.com`|
45
+
46
+
**Do not run bare `bl auth login --console`** — the CLI defaults to `domestic`. Always pass `--console-site` explicitly (or rely on a saved `console_site` in config).
47
+
48
+
**Before console login**, run `bl config show --output json` and check `console_site`.
49
+
50
+
**How to choose the site** (first match wins):
51
+
52
+
1.**`console_site` in `~/.bailian/config.json`** — use it; no need to ask again.
0 commit comments