()
| 3727 | * Models without this capability default to supporting memory. |
| 3728 | */ |
| 3729 | export function getModelsWithoutMemory(): string[] { |
| 3730 | const models: string[] = [] |
| 3731 | for (const provider of Object.values(PROVIDER_DEFINITIONS)) { |
| 3732 | for (const model of provider.models) { |
| 3733 | if (model.capabilities.memory === false) { |
| 3734 | models.push(model.id) |
| 3735 | } |
| 3736 | } |
| 3737 | } |
| 3738 | return models |
| 3739 | } |
| 3740 | |
| 3741 | /** |
| 3742 | * Get the max output tokens for a specific model. |