mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add 'copilot' to ai_provider_type (#25616)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user