()
| 3687 | * Get all models that support thinking capability |
| 3688 | */ |
| 3689 | export function getModelsWithThinking(): string[] { |
| 3690 | const models: string[] = [] |
| 3691 | for (const provider of Object.values(PROVIDER_DEFINITIONS)) { |
| 3692 | for (const model of provider.models) { |
| 3693 | if (model.capabilities.thinking) { |
| 3694 | models.push(model.id) |
| 3695 | } |
| 3696 | } |
| 3697 | } |
| 3698 | return models |
| 3699 | } |
| 3700 | |
| 3701 | /** |
| 3702 | * Get the thinking levels for a specific model |