()
| 24 | // ── GitHub system prompt ────────────────────────────────────────────────── |
| 25 | |
| 26 | function buildGitHubPrompt(): string { |
| 27 | return generatePrompt({ |
| 28 | ...componentSpec, |
| 29 | tools: GITHUB_TOOL_SPECS, |
| 30 | toolExamples: GITHUB_TOOL_EXAMPLES, |
| 31 | additionalRules: GITHUB_ADDITIONAL_RULES, |
| 32 | preamble: GITHUB_PREAMBLE, |
| 33 | editMode: true, |
| 34 | inlineMode: true, |
| 35 | toolCalls: true, |
| 36 | bindings: true, |
| 37 | }); |
| 38 | } |
| 39 | |
| 40 | let cachedPrompt: string | null = null; |
| 41 | function getPrompt(): string { |
no test coverage detected