(providerId: string, modelId: string)
| 236 | } |
| 237 | |
| 238 | function stripProviderPrefix(providerId: string, modelId: string): string { |
| 239 | for (const prefix of getProviderPrefixes(providerId)) { |
| 240 | if (modelId.startsWith(prefix)) { |
| 241 | return modelId.slice(prefix.length) |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | return modelId |
| 246 | } |
| 247 | |
| 248 | function stripTechnicalSuffixes(value: string): string { |
| 249 | return value |
no test coverage detected