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

Method GetRelevantContext

cli/workspace/memory.go:110–112  ·  view source on GitHub ↗

GetRelevantContext returns memory tailored to conversation hints.

(hints []string)

Source from the content-addressed store, hash-verified

108
109// GetRelevantContext returns memory tailored to conversation hints.
110func (ms *MemoryStore) GetRelevantContext(hints []string) string {
111 return ms.sanitizeForPrompt(ms.manager.GetRelevantContext(hints))
112}
113
114// GetMemoryIndex returns the compact, stable memory digest. See
115// memory.Manager.GetMemoryIndex.

Callers 2

RecallMethod · 0.45

Calls 1

sanitizeForPromptMethod · 0.95

Tested by

no test coverage detected