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

Function contextFreeFollowUp

graph-ui/src/browser-ai/chat-context.ts:50–52  ·  view source on GitHub ↗
(prompt: string)

Source from the content-addressed store, hash-verified

48
49/** A short follow-up that needs the turns before it: "und", "mehr", "und was noch?", "and?", "more". */
50export function contextFreeFollowUp(prompt: string): boolean {
51 return FOLLOW_UPS.has(prompt.toLowerCase().replace(/[?!.,;:…]+/g, ' ').replace(/\s+/g, ' ').trim());
52}
53
54/** A question without its own context follows up on explicitly attached code or context
55 * in the same view. A selection or file that is gone leaves nothing to follow up on. */

Callers 2

sendFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected