mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 03:03:44 +00:00
docs(coding-agent): fix /login docs - it shows a picker, no args
This commit is contained in:
parent
8eae92cbb7
commit
a2c6a32e9b
1 changed files with 9 additions and 16 deletions
|
|
@ -13,24 +13,17 @@ Pi supports subscription-based providers via OAuth and API key providers via env
|
||||||
|
|
||||||
## Subscriptions
|
## Subscriptions
|
||||||
|
|
||||||
Use `/login` in interactive mode to authenticate with your existing subscription or free tier:
|
Use `/login` in interactive mode, then select a provider:
|
||||||
|
|
||||||
| Provider | Command | Cost |
|
| Provider | Cost |
|
||||||
|----------|---------|------|
|
|----------|------|
|
||||||
| Claude Pro/Max | `/login anthropic` | Subscription |
|
| Claude Pro/Max | Subscription |
|
||||||
| ChatGPT Plus/Pro | `/login openai-codex` | Subscription |
|
| ChatGPT Plus/Pro | Subscription |
|
||||||
| GitHub Copilot | `/login github-copilot` | Subscription |
|
| GitHub Copilot | Subscription |
|
||||||
| Google Gemini CLI | `/login google-gemini-cli` | Free |
|
| Google Gemini CLI | Free |
|
||||||
| Google Antigravity | `/login google-antigravity` | Free |
|
| Google Antigravity | Free |
|
||||||
|
|
||||||
```bash
|
Use `/logout` to clear credentials. Tokens are stored in `~/.pi/agent/auth.json` and auto-refresh when expired.
|
||||||
pi
|
|
||||||
/login # Interactive provider selection
|
|
||||||
/login anthropic # Direct login
|
|
||||||
/logout # Clear credentials
|
|
||||||
```
|
|
||||||
|
|
||||||
Credentials are stored in `~/.pi/agent/auth.json` and auto-refresh when expired.
|
|
||||||
|
|
||||||
### GitHub Copilot
|
### GitHub Copilot
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue