MCPcopy
hub / github.com/thesysdev/openui / buildGitHubPrompt

Function buildGitHubPrompt

docs/app/api/demo/github/stream/route.ts:26–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24// ── GitHub system prompt ──────────────────────────────────────────────────
25
26function 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
40let cachedPrompt: string | null = null;
41function getPrompt(): string {

Callers 1

getPromptFunction · 0.85

Calls 1

generatePromptFunction · 0.90

Tested by

no test coverage detected