MCPcopy Index your code
hub / github.com/codeaashu/claude-code / withMemoryCorrectionHint

Function withMemoryCorrectionHint

src/utils/messages.ts:185–193  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

183 * when auto-memory is enabled and the GrowthBook flag is on.
184 */
185export function withMemoryCorrectionHint(message: string): string {
186 if (
187 isAutoMemoryEnabled() &&
188 getFeatureValue_CACHED_MAY_BE_STALE('tengu_amber_prism', false)
189 ) {
190 return message + MEMORY_CORRECTION_HINT
191 }
192 return message
193}
194
195/**
196 * Derive a short stable message ID (6-char base36 string) from a UUID.

Callers 3

runToolUseFunction · 0.85
cancelAndAbortFunction · 0.85

Calls 2

isAutoMemoryEnabledFunction · 0.85

Tested by

no test coverage detected