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-protocol/assets/setup.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,12 +98,11 @@ A named Profile can limit the API Key commands it supports through `api_key_capa
98
98
- Unless `--quiet` is used, the CLI reports fallback on stderr. With `--output json`, it emits a
99
99
structured warning.
100
100
101
-
Custom Profiles opt in only by defining `api_key_capabilities`. A missing field disables fallback,
102
-
while `[]` makes every API Key command fall back to `default`.
103
-
104
-
The built-in `token-plan` Profile is the compatibility exception: older configs without the field
105
-
use the current built-in preset. A successful API Key login appends missing preset capabilities
106
-
without removing existing entries.
101
+
Profiles opt in only by defining `api_key_capabilities`. A missing field disables fallback, while
102
+
`[]` makes every API Key command fall back to `default`. This applies to the built-in `token-plan`
103
+
Profile too: the CLI never injects a newer preset at runtime. A successful Token Plan API Key login
104
+
appends missing preset capabilities without removing existing entries, so log in again to upgrade
105
+
the persisted preset.
107
106
108
107
```bash
109
108
bl config set --config company-plan --key api-key-capabilities \
@@ -128,7 +127,9 @@ still follow flag > environment > config.
128
127
129
128
Activation selects the entire Config for every credential domain, not only model consumption. The only exception is the API Key capability fallback described above. After activating `token-plan`, Token Plan management and Console commands still read their OpenAPI or Console credentials from that Profile. If those credentials remain in `default`, invoke the command with `--config default` or log the corresponding credential domain into `token-plan`.
130
129
131
-
The built-in `token-plan` profile defaults to:
130
+
The built-in `token-plan` preset contains the following values. The CLI materializes them only after
131
+
a successful `auth login --config token-plan`. It does not replace them at runtime; run the login
132
+
command again to persist a newer preset:
132
133
133
134
- Base URL: `https://token-plan.cn-beijing.maas.aliyuncs.com`
0 commit comments