MCPcopy Create free account
hub / github.com/Noumena-Network/code / setSystemPromptInjection

Function setSystemPromptInjection

src/context.ts:30–35  ·  view source on GitHub ↗
(value: string | null)

Source from the content-addressed store, hash-verified

28}
29
30export function setSystemPromptInjection(value: string | null): void {
31 systemPromptInjection = value
32 // Clear context caches immediately when injection changes
33 getUserContext.cache.clear?.()
34 getSystemContext.cache.clear?.()
35}
36
37export const getGitStatus = memoize(async (): Promise<string | null> => {
38 if (process.env.NODE_ENV === 'test') {

Callers 2

setInjectionAndDescribeFunction · 0.85
clearSessionCachesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected