()
| 3711 | * Get all models that support deep research capability |
| 3712 | */ |
| 3713 | export function getModelsWithDeepResearch(): string[] { |
| 3714 | const models: string[] = [] |
| 3715 | for (const provider of Object.values(PROVIDER_DEFINITIONS)) { |
| 3716 | for (const model of provider.models) { |
| 3717 | if (model.capabilities.deepResearch) { |
| 3718 | models.push(model.id) |
| 3719 | } |
| 3720 | } |
| 3721 | } |
| 3722 | return models |
| 3723 | } |
| 3724 | |
| 3725 | /** |
| 3726 | * Get all models that explicitly disable memory support (memory: false). |