(providerId: string)
| 232 | } |
| 233 | |
| 234 | function getProviderPrefixes(providerId: string): string[] { |
| 235 | return PROVIDER_PREFIXES[providerId] ?? [`${providerId}/`] |
| 236 | } |
| 237 | |
| 238 | function stripProviderPrefix(providerId: string, modelId: string): string { |
| 239 | for (const prefix of getProviderPrefixes(providerId)) { |
no outgoing calls
no test coverage detected