feat: add 'copilot' to ai_provider_type (#25616)

This commit is contained in:
Danny Kopping
2026-05-22 16:10:37 +02:00
committed by GitHub
parent de6d62815e
commit 0d9718e217
12 changed files with 61 additions and 21 deletions
+4
View File
@@ -41,6 +41,10 @@ const (
// using the Bedrock discriminator in Settings; native support is
// future work.
AIProviderTypeBedrock AIProviderType = "bedrock"
// AIProviderTypeCopilot routes through aibridge's Copilot client,
// which uses request-time GitHub OAuth tokens rather than pre-shared
// API keys.
AIProviderTypeCopilot AIProviderType = "copilot"
)
// AIProviderSettings is the discriminated container for type-specific