mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-25 23:47:20 +00:00
docs: refresh auth command references
This commit is contained in:
@@ -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>`
|
||||
|
||||
|
||||
@@ -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 plugin’s auth flow (OAuth/API key). Use
|
||||
`openclaw plugins list` to see which providers are installed.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user