|
163 | 163 | "print(\"\\n1. Loading working memory...\")\n", |
164 | 164 | "_, working_memory = await memory_client.get_or_create_working_memory(\n", |
165 | 165 | " session_id=session_id_1,\n", |
| 166 | + " user_id=\"demo_user\",\n", |
166 | 167 | " model_name=\"gpt-4o\"\n", |
167 | 168 | ")\n", |
168 | 169 | "print(f\" Messages in working memory: {len(working_memory.messages) if working_memory else 0}\")\n", |
|
235 | 236 | "print(\"\\n1. Loading working memory...\")\n", |
236 | 237 | "_, working_memory = await memory_client.get_or_create_working_memory(\n", |
237 | 238 | " session_id=session_id_1,\n", |
| 239 | + " user_id=\"demo_user\",\n", |
238 | 240 | " model_name=\"gpt-4o\"\n", |
239 | 241 | ")\n", |
240 | 242 | "print(f\" Messages in working memory: {len(working_memory.messages)}\")\n", |
|
363 | 365 | "print(\"\\n1. Loading working memory...\")\n", |
364 | 366 | "_, working_memory = await memory_client.get_or_create_working_memory(\n", |
365 | 367 | " session_id=session_id_2,\n", |
| 368 | + " user_id=\"demo_user\",\n", |
366 | 369 | " model_name=\"gpt-4o\"\n", |
367 | 370 | ")\n", |
368 | 371 | "print(f\" Messages in working memory: {len(working_memory.messages) if working_memory else 0}\")\n", |
|
0 commit comments