mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 21:02:02 +00:00
docs(coding-agent): simplify resolution order, remove troubleshooting
This commit is contained in:
parent
676353ab4f
commit
1b98d45c77
1 changed files with 4 additions and 16 deletions
|
|
@ -9,7 +9,6 @@ Pi supports subscription-based providers via OAuth and API key providers via env
|
||||||
- [Auth File](#auth-file)
|
- [Auth File](#auth-file)
|
||||||
- [Cloud Providers](#cloud-providers)
|
- [Cloud Providers](#cloud-providers)
|
||||||
- [Resolution Order](#resolution-order)
|
- [Resolution Order](#resolution-order)
|
||||||
- [Troubleshooting](#troubleshooting)
|
|
||||||
|
|
||||||
## Subscriptions
|
## Subscriptions
|
||||||
|
|
||||||
|
|
@ -135,18 +134,7 @@ Or set `GOOGLE_APPLICATION_CREDENTIALS` to a service account key file.
|
||||||
|
|
||||||
When resolving credentials for a provider:
|
When resolving credentials for a provider:
|
||||||
|
|
||||||
1. CLI `--api-key` flag (runtime override)
|
1. CLI `--api-key` flag
|
||||||
2. API key from `auth.json`
|
2. `auth.json` entry (API key or OAuth token)
|
||||||
3. OAuth token from `auth.json` (auto-refreshed)
|
3. Environment variable
|
||||||
4. Environment variable
|
4. Custom provider keys from `models.json`
|
||||||
5. Custom provider keys from `models.json`
|
|
||||||
|
|
||||||
## Troubleshooting
|
|
||||||
|
|
||||||
**Port 1455 in use:** OAuth callback server can't start. Close the conflicting process or paste the auth URL manually when prompted.
|
|
||||||
|
|
||||||
**Token expired / refresh failed:** Run `/login` again to re-authenticate.
|
|
||||||
|
|
||||||
**Rate limits (429):** Wait for the reset window. Pi shows the approximate retry time.
|
|
||||||
|
|
||||||
**"model not supported" (GitHub Copilot):** Enable the model in VS Code first.
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue