(model: string | undefined)
| 122 | } |
| 123 | |
| 124 | export function getAgentModelDisplay(model: string | undefined): string { |
| 125 | // When model is omitted, getDefaultSubagentModel() returns 'inherit' at runtime |
| 126 | if (!model) return 'Inherit from parent (default)' |
| 127 | if (model === 'inherit') return 'Inherit from parent' |
| 128 | return capitalize(model) |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Get available model options for agents |
no test coverage detected