(target)
| 17 | } |
| 18 | |
| 19 | function 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 | |
| 29 | function chatPromptForGoal(goal, target) { |
| 30 | const label = targetLabel(target); |
no outgoing calls
no test coverage detected