Skip to content

feat: add 'copilot' to ai_provider_type#25616

Merged
dannykopping merged 1 commit into
mainfrom
dk/aibridge-copilot-enum-value
May 22, 2026
Merged

feat: add 'copilot' to ai_provider_type#25616
dannykopping merged 1 commit into
mainfrom
dk/aibridge-copilot-enum-value

Conversation

@dannykopping
Copy link
Copy Markdown
Contributor

@dannykopping dannykopping commented May 22, 2026

Adds a copilot provider type, which was previously forgotten. copilot can only be used currently with BYOK, and is generally only usable with the AI Gateway Proxy.

@github-actions
Copy link
Copy Markdown

Docs preview

📖 View docs preview for docs/reference/api/aiproviders.md

Copy link
Copy Markdown
Contributor Author

dannykopping commented May 22, 2026

aibridge already has a Copilot provider runtime (config.ProviderCopilot)
but ai_provider_type was missing the discriminator, so env-configured
Copilot rows were silently skipped in SeedAIProvidersFromEnv. Adding the
enum value unblocks the seed and the DB-driven provider loader.

Bearer keys configured on either Bedrock or Copilot providers are now
logged at warn level rather than silently inserted into ai_provider_keys
— Bedrock authenticates via the settings blob and Copilot authenticates
via request-time GitHub OAuth tokens, so neither uses pre-shared keys.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dannykopping dannykopping force-pushed the dk/aibridge-copilot-enum-value branch from 68f4e67 to 56bf0c1 Compare May 22, 2026 13:41
@dannykopping dannykopping changed the title feat(coderd): add 'copilot' to ai_provider_type feat: add 'copilot' to ai_provider_type May 22, 2026
@dannykopping dannykopping marked this pull request as ready for review May 22, 2026 13:47
@dannykopping dannykopping merged commit 0d9718e into main May 22, 2026
44 of 45 checks passed
@dannykopping dannykopping deleted the dk/aibridge-copilot-enum-value branch May 22, 2026 14:10
@github-actions github-actions Bot locked and limited conversation to collaborators May 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants