Skip to content

Commit 85cbe9e

Browse files
committed
Fix user_id consistency in 01_working_memory notebook
Changed user_id from 'demo_user' to student_id to match the user_id used when retrieving working memory.
1 parent 2675d88 commit 85cbe9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
"# Create WorkingMemory object\n",
219219
"working_memory = WorkingMemory(\n",
220220
" session_id=session_id,\n",
221-
" user_id=\"demo_user\",\n",
221+
" user_id=student_id,\n",
222222
" messages=memory_messages,\n",
223223
" memories=[],\n",
224224
" data={}\n",
@@ -227,7 +227,7 @@
227227
"await memory_client.put_working_memory(\n",
228228
" session_id=session_id,\n",
229229
" memory=working_memory,\n",
230-
" user_id=\"demo_user\",\n",
230+
" user_id=student_id,\n",
231231
" model_name=\"gpt-4o\"\n",
232232
")\n",
233233
"\n",

0 commit comments

Comments
 (0)