()
| 77 | } |
| 78 | |
| 79 | function generateModelSection(): string { |
| 80 | try { |
| 81 | const options = getModelOptions() |
| 82 | const lines = options.map(o => { |
| 83 | const value = o.value === null ? 'null/"default"' : `"${o.value}"` |
| 84 | return ` - ${value}: ${o.descriptionForModel ?? o.description}` |
| 85 | }) |
| 86 | return `## Model |
| 87 | - model - Override the default model. Available options: |
| 88 | ${lines.join('\n')}` |
| 89 | } catch { |
| 90 | return `## Model |
| 91 | - model - Override the default model (sonnet, opus, haiku, best, or full model ID)` |
| 92 | } |
| 93 | } |
| 94 |
no test coverage detected