| 107 | | 'custom'; |
| 108 | |
| 109 | export interface ProviderConfig { |
| 110 | id: string; |
| 111 | name: string; |
| 112 | type: ProviderType; |
| 113 | baseUrl?: string; |
| 114 | apiProtocol?: ProviderProtocol; |
| 115 | headers?: Record<string, string>; |
| 116 | model?: string; |
| 117 | fallbackModels?: string[]; |
| 118 | fallbackProviderIds?: string[]; |
| 119 | enabled: boolean; |
| 120 | createdAt: string; |
| 121 | updatedAt: string; |
| 122 | } |
| 123 | |
| 124 | export interface ProviderWithKeyInfo extends ProviderConfig { |
| 125 | hasKey: boolean; |
nothing calls this directly
no outgoing calls
no test coverage detected