()
| 183 | } |
| 184 | |
| 185 | export function renderModelCatalog(): string { |
| 186 | const lines: string[] = []; |
| 187 | for (const m of MODEL_CATALOG) { |
| 188 | const defaults = m.defaultFor?.length |
| 189 | ? ` (default for ${m.defaultFor.join(", ")})` |
| 190 | : ""; |
| 191 | lines.push(`- \`${m.slug}\` — ${m.summary}${defaults}`); |
| 192 | lines.push(` speed: ${m.speed}; strengths: ${m.strengths.join(", ")}`); |
| 193 | lines.push(` use: ${m.use}`); |
| 194 | } |
| 195 | return lines.join("\n"); |
| 196 | } |
no outgoing calls
no test coverage detected