(guide)
| 160 | } |
| 161 | |
| 162 | function renderWorkflowGuide(guide) { |
| 163 | if (!guide) { |
| 164 | return "No chat workflow guidance available."; |
| 165 | } |
| 166 | |
| 167 | const startHere = guide.startHere || guide.recommendedWorkflow; |
| 168 | return [ |
| 169 | guide.beginnerSummary, |
| 170 | "", |
| 171 | `Start with this chat request: "${startHere.chatPrompt}"`, |
| 172 | `Why this path: ${startHere.routingExplanation || startHere.summary}`, |
| 173 | `Quick local entrypoint: ${startHere.startCommand}`, |
| 174 | `Plugin Eval will run first: ${startHere.firstCommand}`, |
| 175 | "", |
| 176 | "Other chat requests you can use:", |
| 177 | ...guide.entrypoints.map((entry) => |
| 178 | `- ${entry.label}: say "${entry.chatPrompt}" -> ${entry.firstCommand}`, |
| 179 | ), |
| 180 | ].join("\n"); |
| 181 | } |
| 182 | |
| 183 | function renderMeasurementPlan(plan) { |
| 184 | if (!plan) { |
no test coverage detected