MCPcopy Create free account
hub / github.com/diillson/chatcli / GetMemoryIndex

Method GetMemoryIndex

cli/workspace/memory.go:116–118  ·  view source on GitHub ↗

GetMemoryIndex returns the compact, stable memory digest. See memory.Manager.GetMemoryIndex.

(budget int)

Source from the content-addressed store, hash-verified

114// GetMemoryIndex returns the compact, stable memory digest. See
115// memory.Manager.GetMemoryIndex.
116func (ms *MemoryStore) GetMemoryIndex(budget int) string {
117 return ms.sanitizeForPrompt(ms.manager.GetMemoryIndex(budget))
118}
119
120// GetRelevantContextWithHyDE delegates to the manager's HyDE-aware
121// retrieval. See memory.Manager.GetRelevantContextWithHyDE.

Callers 2

showConfigMemoryMethod · 0.45

Calls 1

sanitizeForPromptMethod · 0.95

Tested by

no test coverage detected