MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / buildReaderPrompt

Function buildReaderPrompt

graph-ui/src/compiler/prompt-contract.ts:342–351  ·  view source on GitHub ↗
(reader: string, text: string)

Source from the content-addressed store, hash-verified

340
341/** The user half of the reader prompt. */
342export function buildReaderPrompt(reader: string, text: string): string {
343 const lines = text.split('\n').length;
344 const voice = READER_VOICES[reader];
345 return [
346 `Reword these ${lines} sentences for a ${reader}. Same count, same order, same names and numbers.`,
347 ...(voice === undefined ? [] : ['', voice]),
348 '',
349 text,
350 ].join('\n');
351}

Callers 3

TwinPanelFunction · 0.90
askAiFunction · 0.90
askAiFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected