mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-12 20:57:52 +02:00
[Docs] Add ruff linting to .ipynb files (#645)
This commit is contained in:
@@ -65,8 +65,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import os\n",
|
||||
"import getpass\n",
|
||||
"import os\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"def _set_env(var: str):\n",
|
||||
@@ -154,6 +154,7 @@
|
||||
"source": [
|
||||
"from langchain import hub\n",
|
||||
"from langchain_openai import ChatOpenAI\n",
|
||||
"\n",
|
||||
"from langgraph.prebuilt import create_react_agent\n",
|
||||
"\n",
|
||||
"# Get the prompt to use - you can modify this!\n",
|
||||
@@ -212,8 +213,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from typing import List, Tuple, Annotated, TypedDict\n",
|
||||
"import operator\n",
|
||||
"from typing import Annotated, List, Tuple, TypedDict\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"class PlanExecute(TypedDict):\n",
|
||||
|
||||
Reference in New Issue
Block a user