(model: string)
| 74 | } |
| 75 | |
| 76 | function getMoonshotPricing(model: string): MoonshotPricing { |
| 77 | const pricing = MOONSHOT_PRICING[model] |
| 78 | if (!pricing) { |
| 79 | throw new Error(`No Moonshot pricing found for model: ${model}`) |
| 80 | } |
| 81 | return pricing |
| 82 | } |
| 83 | |
| 84 | function getMoonshotApiKey(): string { |
| 85 | const apiKey = env.MOONSHOT_API_KEY |
no outgoing calls
no test coverage detected