mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-13 05:07:51 +02:00
[Docs] Add ruff linting to .ipynb files (#645)
This commit is contained in:
@@ -420,8 +420,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain_core.prompts import ChatPromptTemplate\n",
|
||||
"from langchain_anthropic import ChatAnthropic\n",
|
||||
"from langchain_core.prompts import ChatPromptTemplate\n",
|
||||
"\n",
|
||||
"# Or you can use ChatGroq, ChatOpenAI, ChatGoogleGemini, ChatCohere, etc.\n",
|
||||
"# See https://python.langchain.com/v0.1/docs/integrations/chat/ for more info on tool calling\n",
|
||||
@@ -953,7 +953,7 @@
|
||||
"\n",
|
||||
"try:\n",
|
||||
" display(Image(bound_llm.get_graph().draw_mermaid_png()))\n",
|
||||
"except:\n",
|
||||
"except Exception:\n",
|
||||
" pass"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user