File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,11 @@ print("Waiting 2 minutes for semantic processing...")
75
75
time.sleep(120 )
76
76
77
77
# List all memory records
78
- memory_records = session_manager.list_memory_records(
79
- memoryId = memory.get(" id" ),
80
- namespace = " /"
78
+ memory_records = session_manager.list_long_term_memory_records(
79
+ namespace_prefix = " /"
81
80
)
82
81
83
- for record in memory_records.get( " memoryRecordSummaries " , []) :
82
+ for record in memory_records:
84
83
print (f " Memory record: { record} " )
85
84
print (" --------------------------------------------------------------------" )
86
85
Original file line number Diff line number Diff line change @@ -135,9 +135,8 @@ You can list all memory records with:
135
135
136
136
``` python
137
137
# List all memory records
138
- memory_records = session_manager.list_memory_records(
139
- memoryId = memory.get(" id" ),
140
- namespace = " /"
138
+ session_manager.list_long_term_memory_records(
139
+ namespace_prefix = " /"
141
140
)
142
141
```
143
142
You can’t perform that action at this time.
0 commit comments