feat: support config-driven OAuth endpoints on the openai and gemini clients

This commit is contained in:
Dark-Alex-17 committed 2026-09-16 10:17:05 -06:00
1 parent 4cc5563ba8
commit 5046aebca3
6 files changed
+1261 -161

No files matched your search

+4 -1
View File
@@ -338,6 +338,9 @@ clients:
api_base: https://api.openai.com/v1 # Optional
api_key: '{{OPENAI_API_KEY}}' # You can either hard-code or inject secrets from the Coyote vault
organization_id: org-xxx # Optional
auth: null # When set to 'oauth', Coyote will use OAuth instead of an API key
# Authenticate with `coyote --authenticate` or `.authenticate` in the REPL
# Supports a custom `oauth:` block like the claude client below. `api_base` is REQUIRED with it
# For any platform compatible with OpenAI's API
- type: openai-compatible
@@ -582,4 +585,4 @@ clients:
- type: openai-compatible
name: voyageai
api_base: https://api.voyageai.com/v1
api_key: '{{VOYAGEAI_API_KEY}}' # You can either hard-code or inject secrets from the Coyote vault
api_key: '{{VOYAGEAI_API_KEY}}' # You can either hard-code or inject secrets from the Coyote vault