| 9 | // --------------------------------------------------------------------------- |
| 10 | |
| 11 | export interface ProviderMeta { |
| 12 | label: string; |
| 13 | defaultModelId: string; |
| 14 | authType: "api_key" | "oauth"; |
| 15 | /** Environment variable name for API key fallback (api_key mode only) */ |
| 16 | envKey?: string; |
| 17 | /** Input placeholder hint (api_key mode only) */ |
| 18 | placeholder?: string; |
| 19 | /** Custom base URL placeholder hint (providers that support proxying only) */ |
| 20 | baseUrlPlaceholder?: string; |
| 21 | /** OAuth provider ID registered in SDK (oauth mode only) */ |
| 22 | oauthProviderId?: string; |
| 23 | /** Whether this provider supports custom base URL (for proxying) */ |
| 24 | supportsBaseUrl: boolean; |
| 25 | } |
| 26 | |
| 27 | export const SUPPORTED_PROVIDERS: Record<string, ProviderMeta> = { |
| 28 | openai: { |
nothing calls this directly
no outgoing calls
no test coverage detected