mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-12 04:37:51 +02:00
Merge branch 'main' into patch-1
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
")\n",
|
||||
"llm = ChatFireworks(\n",
|
||||
" model=\"accounts/fireworks/models/mixtral-8x7b-instruct\",\n",
|
||||
" model_kwargs={\"max_tokens\": 32768},\n",
|
||||
" max_tokens=32768\n",
|
||||
")\n",
|
||||
"generate = prompt | llm"
|
||||
]
|
||||
@@ -334,13 +334,13 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"async for event in graph.astream(\n",
|
||||
" [\n",
|
||||
"async for event in graph.astream({\n",
|
||||
" \"messages\": [\n",
|
||||
" HumanMessage(\n",
|
||||
" content=\"Generate an essay on the topicality of The Little Prince and its message in modern life\"\n",
|
||||
" )\n",
|
||||
" ],\n",
|
||||
"):\n",
|
||||
"}):\n",
|
||||
" print(event)\n",
|
||||
" print(\"---\")"
|
||||
]
|
||||
@@ -534,7 +534,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.2"
|
||||
"version": "3.11.9"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user