(params: { costDollars: number })
| 61 | } |
| 62 | |
| 63 | function calculateUsedCredits(params: { costDollars: number }): number { |
| 64 | const { costDollars } = params |
| 65 | |
| 66 | return Math.round(costDollars * (1 + PROFIT_MARGIN) * 100) |
| 67 | } |
| 68 | |
| 69 | export function getProviderOptions(params: { |
| 70 | model: string |
no outgoing calls
no test coverage detected