Skip to content

Commit da51403

Browse files
committed
Add missing user_id parameter to get_or_create_working_memory calls
The API requires user_id parameter. Added it to all get_or_create_working_memory calls in 01_working_memory_with_extraction_strategies.ipynb
1 parent 61a6c3a commit da51403

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python-recipes/context-engineering/notebooks/section-3-memory/01_working_memory_with_extraction_strategies.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
"_, working_memory = await memory_client.get_or_create_working_memory(\n",
241241
" session_id=session_id,\n",
242242
" model_name=\"gpt-4o\"\n",
243+
" user_id=student_id,\n",
243244
")\n",
244245
"\n",
245246
"if working_memory:\n",

0 commit comments

Comments
 (0)