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

Function chatProvenance

graph-ui/src/chat/chat-strings.ts:127–130  ·  view source on GitHub ↗
(klass: string, rule: string, tokens: number, budget: number)

Source from the content-addressed store, hash-verified

125
126/** The honest line under the answer, naming the class and the rule that fired. */
127export function chatProvenance(klass: string, rule: string, tokens: number, budget: number): string {
128 return `question class ${klass} (rule ${rule}); the cards cost about ${tokens} of ${budget} `
129 + 'tokens, estimated at four characters per token.';
130}
131
132/** What the panel says when a claim came back without a citation. */
133export function chatCitationWarning(count: number): string {

Callers 1

TurnFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected