MCPcopy Index your code
hub / github.com/thesysdev/openui / getPrompt

Function getPrompt

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

Source from the content-addressed store, hash-verified

39
40let cachedPrompt: string | null = null;
41function getPrompt(): string {
42 if (!cachedPrompt) cachedPrompt = buildGitHubPrompt();
43 return cachedPrompt;
44}
45
46// ── Route handler ──────────────────────────────────────────────────────────
47

Callers 1

POSTFunction · 0.85

Calls 1

buildGitHubPromptFunction · 0.85

Tested by

no test coverage detected