mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-07 18:27:52 +02:00
docs: fix filter_messages error in manage-conversation-history.ipynb (#1315)
fix: #1314
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user