From 93b2eb2766f880dc34f9899f8be97b21913173da Mon Sep 17 00:00:00 2001 From: ajosh0504 Date: Mon, 5 Aug 2024 22:29:44 +0300 Subject: [PATCH] Fixing code block --- docs/80-add-memory/2-add-memory.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/80-add-memory/2-add-memory.mdx b/docs/80-add-memory/2-add-memory.mdx index 71d85107..172a7c09 100644 --- a/docs/80-add-memory/2-add-memory.mdx +++ b/docs/80-add-memory/2-add-memory.mdx @@ -61,7 +61,7 @@ history_collection.find({"session_id": session_id}).sort("timestamp", 1) Answer
```python -{"role": msg["role"], "content": msg["content"]} for msg in cursor +[{"role": msg["role"], "content": msg["content"]} for msg in cursor] ```