(model: string)
| 844 | * @returns true if the usage should be billed to the user |
| 845 | */ |
| 846 | export function shouldBillModelUsage(model: string): boolean { |
| 847 | const hostedModels = getHostedModels() |
| 848 | return hostedModels.some((hostedModel) => model.toLowerCase() === hostedModel.toLowerCase()) |
| 849 | } |
| 850 | |
| 851 | /** |
| 852 | * Placeholder returned for providers that use their own credential mechanism |
no test coverage detected