docs: fix filter_messages error in manage-conversation-history.ipynb (#1315)

fix: #1314
This commit is contained in:
gbaian10
2024-08-12 14:16:59 -04:00
committed by GitHub
parent 6a22b7c26f
commit b8233ded23
@@ -269,7 +269,7 @@
"\n",
"def filter_messages(messages: list):\n",
" # This is very simple helper function which only ever uses the last two messages\n",
" return messages[-1:]\n",
" return messages[-2:]\n",
"\n",
"\n",
"# Define the function that calls the model\n",