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

Function targetLabel

plugins/plugin-eval/src/core/workflow-guide.js:19–27  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

17}
18
19function targetLabel(target) {
20 if (target.kind === "plugin") {
21 return "plugin";
22 }
23 if (target.kind === "skill") {
24 return "skill";
25 }
26 return "target";
27}
28
29function chatPromptForGoal(goal, target) {
30 const label = targetLabel(target);

Callers 3

chatPromptForGoalFunction · 0.70
summaryForGoalFunction · 0.70
buildWorkflowGuideFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected