mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 15:03:31 +00:00
docs(coding-agent): add Custom Providers section to providers.md
This commit is contained in:
parent
b08ec08fd4
commit
fd1beb4941
1 changed files with 7 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ Pi supports subscription-based providers via OAuth and API key providers via env
|
|||
- [API Keys](#api-keys)
|
||||
- [Auth File](#auth-file)
|
||||
- [Cloud Providers](#cloud-providers)
|
||||
- [Custom Providers](#custom-providers)
|
||||
- [Resolution Order](#resolution-order)
|
||||
|
||||
## Subscriptions
|
||||
|
|
@ -130,6 +131,12 @@ export GOOGLE_CLOUD_LOCATION=us-central1
|
|||
|
||||
Or set `GOOGLE_APPLICATION_CREDENTIALS` to a service account key file.
|
||||
|
||||
## Custom Providers
|
||||
|
||||
**Via models.json:** Add Ollama, LM Studio, vLLM, or any provider that speaks a supported API (OpenAI Completions, OpenAI Responses, Anthropic Messages, Google Generative AI). See [models.md](models.md).
|
||||
|
||||
**Via extensions:** For providers that need custom API implementations or OAuth flows, create an extension. See [extensions.md](extensions.md) and [examples/extensions/custom-provider-gitlab-duo](../examples/extensions/custom-provider-gitlab-duo/).
|
||||
|
||||
## Resolution Order
|
||||
|
||||
When resolving credentials for a provider:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue