MCPcopy
hub / github.com/NevaMind-AI/memU / _print_items

Function _print_items

tests/test_openrouter.py:36–43  ·  view source on GitHub ↗

Print memory item summaries.

(items, max_items=3)

Source from the content-addressed store, hash-verified

34
35
36def _print_items(items, max_items=3):
37 """Print memory item summaries."""
38 if items:
39 print(" Items:")
40 for item in items[:max_items]:
41 memory_type = item.get("memory_type", "unknown")
42 summary = item.get("summary", "")[:80]
43 print(f" - [{memory_type}] {summary}...")
44
45
46async def _test_memorize(service, file_path, output_data):

Callers 1

_test_retrieveFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected