Print memory item summaries.
(items, max_items=3)
| 34 | |
| 35 | |
| 36 | def _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 | |
| 46 | async def _test_memorize(service, file_path, output_data): |