()
| 3382 | } |
| 3383 | |
| 3384 | export function getModelsWithTemperatureSupport(): string[] { |
| 3385 | const models: string[] = [] |
| 3386 | for (const provider of Object.values(PROVIDER_DEFINITIONS)) { |
| 3387 | for (const model of provider.models) { |
| 3388 | if (model.capabilities.temperature) { |
| 3389 | models.push(model.id) |
| 3390 | } |
| 3391 | } |
| 3392 | } |
| 3393 | return models |
| 3394 | } |
| 3395 | |
| 3396 | export function getModelsWithTemperatureRange(max: number): string[] { |
| 3397 | const models: string[] = [] |