mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: route extra ai_provider_types through OpenAI and Anthropic providers (#25722)
_Disclosure:_ _produced_ _with_ _Claude_ _Opus_ _4\.7_ AI Gateway only supports Anthropic (+Bedrock), OpenAI, and Copilot providers at present. All other types (Vercel, Gemini, etc) will be mapped to OpenAI since they support OpenAI-compatible endpoints.
This commit is contained in:
Generated
+3
-1
@@ -378,7 +378,9 @@ export const AIProviderBedrockSettingsVersion = 1;
|
||||
*/
|
||||
export interface AIProviderConfig {
|
||||
/**
|
||||
* Type is the provider type: "openai", "anthropic", or "copilot".
|
||||
* Type is the provider type. Valid values are: "openai",
|
||||
* "anthropic", "azure", "bedrock", "google", "openai-compat",
|
||||
* "openrouter", "vercel", "copilot".
|
||||
*/
|
||||
readonly type: string;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user