(model: string)
| 70 | } |
| 71 | |
| 72 | function getCanopyWavePricing(model: string): CanopyWavePricing { |
| 73 | const entry = CANOPYWAVE_MODELS[model] |
| 74 | if (!entry) { |
| 75 | throw new Error(`No CanopyWave pricing found for model: ${model}`) |
| 76 | } |
| 77 | return entry.pricing |
| 78 | } |
| 79 | |
| 80 | type StreamState = { responseText: string; reasoningText: string; ttftMs: number | null; billedAlready: boolean } |
| 81 |
no outgoing calls
no test coverage detected