docs: refresh auth command references

This commit is contained in:
Peter Steinberger
2026-04-04 08:10:18 +01:00
parent 32d2654340
commit 66b1520d92
3 changed files with 13 additions and 3 deletions

View File

@@ -1095,9 +1095,9 @@ Options:
Options:
- `add`: interactive token-auth helper
- `add`: interactive auth helper (provider auth flow or token paste)
- `login`: `--provider <name>`, `--method <method>`, `--set-default`
- `login-github-copilot`: GitHub Copilot OAuth login flow
- `login-github-copilot`: GitHub Copilot OAuth login flow (`--yes`)
- `setup-token`: `--provider <name>`, `--yes`
- `paste-token`: `--provider <name>`, `--profile-id <id>`, `--expires-in <duration>`

View File

@@ -71,6 +71,10 @@ openclaw models auth setup-token --provider <id>
openclaw models auth paste-token
```
`models auth add` is the interactive auth helper. It can launch a provider auth
flow (OAuth/API key) or guide you into manual token paste, depending on the
provider you choose.
`models auth login` runs a provider plugins auth flow (OAuth/API key). Use
`openclaw plugins list` to see which providers are installed.

View File

@@ -45,10 +45,16 @@ open until it completes.
### Optional flags
```bash
openclaw models auth login-github-copilot --profile-id github-copilot:work
openclaw models auth login-github-copilot --yes
```
To also apply the provider's recommended default model in one step, use the
generic auth command instead:
```bash
openclaw models auth login --provider github-copilot --method device --set-default
```
## Set a default model
```bash