()
| 3424 | } |
| 3425 | |
| 3426 | export function getComputerUseModels(): string[] { |
| 3427 | const models: string[] = [] |
| 3428 | for (const provider of Object.values(PROVIDER_DEFINITIONS)) { |
| 3429 | for (const model of provider.models) { |
| 3430 | if (model.capabilities.computerUse) { |
| 3431 | models.push(model.id) |
| 3432 | } |
| 3433 | } |
| 3434 | } |
| 3435 | return models |
| 3436 | } |
| 3437 | |
| 3438 | export function supportsTemperature(modelId: string): boolean { |
| 3439 | const capabilities = getModelCapabilities(modelId) |