| 4 | */ |
| 5 | |
| 6 | export interface ProviderDef { |
| 7 | /** Slug used in config/settings (e.g., 'anthropic') */ |
| 8 | id: string; |
| 9 | /** Human-readable name (e.g., 'Anthropic') */ |
| 10 | displayName: string; |
| 11 | /** Model name prefix used for routing (e.g., 'claude-'). Empty string for default (OpenAI). */ |
| 12 | modelPrefix: string; |
| 13 | /** Environment variable name for API key. Omit for local providers (e.g., Ollama). */ |
| 14 | apiKeyEnvVar?: string; |
| 15 | /** Fast model variant for lightweight tasks like summarization. */ |
| 16 | fastModel?: string; |
| 17 | /** Default context window size in tokens. Used for model-aware compaction thresholds. */ |
| 18 | contextWindow?: number; |
| 19 | } |
| 20 | |
| 21 | export const PROVIDERS: ProviderDef[] = [ |
| 22 | { |
nothing calls this directly
no outgoing calls
no test coverage detected