GetMemoryContext builds the memory section for the system prompt. Uses smart retrieval when no hints are provided.
()
| 103 | // GetMemoryContext builds the memory section for the system prompt. |
| 104 | // Uses smart retrieval when no hints are provided. |
| 105 | func (ms *MemoryStore) GetMemoryContext() string { |
| 106 | return ms.sanitizeForPrompt(ms.manager.GetMemoryContext()) |
| 107 | } |
| 108 | |
| 109 | // GetRelevantContext returns memory tailored to conversation hints. |
| 110 | func (ms *MemoryStore) GetRelevantContext(hints []string) string { |