Docs: 'memory' -> 'history' typo. (#12779)

The 'MessagesPlaceholder' expects 'history' but 'RunnablePassthrough' is
assigning 'memory'.
pull/12801/head
니콜라스 10 months ago committed by GitHub
parent 1f7e811156
commit 25ee10ed4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,7 @@
"source": [
"chain = (\n",
" RunnablePassthrough.assign(\n",
" memory=RunnableLambda(memory.load_memory_variables) | itemgetter(\"history\")\n",
" history=RunnableLambda(memory.load_memory_variables) | itemgetter(\"history\")\n",
" )\n",
" | prompt\n",
" | model\n",

Loading…
Cancel
Save