MCPcopy Create free account
hub / github.com/openai/plugins / renderNextAction

Function renderNextAction

plugins/plugin-eval/src/renderers/markdown.js:26–37  ·  view source on GitHub ↗
(nextAction)

Source from the content-addressed store, hash-verified

24}
25
26function renderNextAction(nextAction) {
27 if (!nextAction) {
28 return ["- No recommended next step."];
29 }
30
31 return [
32 `- ${nextAction.label}`,
33 `- Why: ${nextAction.why}`,
34 ...(nextAction.chatPrompt ? [`- Chat request: "${nextAction.chatPrompt}"`] : []),
35 ...(nextAction.command ? [`- Local command: \`${nextAction.command}\``] : []),
36 ];
37}
38
39function renderBudgets(budgets) {
40 const lines = [

Callers 7

renderEvaluationFunction · 0.70
renderBudgetExplanationFunction · 0.70
renderBenchmarkRunFunction · 0.70
renderComparisonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected