(input: Pick<RunInput, "agent" | "model" | "variant">)
| 122 | } |
| 123 | |
| 124 | function footerLabels(input: Pick<RunInput, "agent" | "model" | "variant">): FooterLabels { |
| 125 | const agentLabel = Locale.titlecase(input.agent ?? "build") |
| 126 | |
| 127 | if (!input.model) { |
| 128 | return { |
| 129 | agentLabel, |
| 130 | modelLabel: "Model default", |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | return { |
| 135 | agentLabel, |
| 136 | modelLabel: formatModelLabel(input.model, input.variant), |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | function directoryLabel(directory: string) { |
| 141 | const resolved = path.resolve(directory) |
no test coverage detected