(max: number)
| 3394 | } |
| 3395 | |
| 3396 | export function getModelsWithTemperatureRange(max: number): string[] { |
| 3397 | const models: string[] = [] |
| 3398 | for (const provider of Object.values(PROVIDER_DEFINITIONS)) { |
| 3399 | for (const model of provider.models) { |
| 3400 | if (model.capabilities.temperature?.max === max) { |
| 3401 | models.push(model.id) |
| 3402 | } |
| 3403 | } |
| 3404 | } |
| 3405 | return models |
| 3406 | } |
| 3407 | |
| 3408 | export function getProvidersWithToolUsageControl(): string[] { |
| 3409 | const providers: string[] = [] |