You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Clear all outputs for clean execution on create-react-agent-memory.ipynb
- Clear all outputs for clean execution on create-react-agent-hitl.ipynb
- Ready for end-to-end execution with Redis checkpoint
Copy file name to clipboardExpand all lines: examples/create-react-agent-hitl.ipynb
+6-34Lines changed: 6 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@
53
53
},
54
54
{
55
55
"cell_type": "code",
56
-
"execution_count": 1,
56
+
"execution_count": null,
57
57
"id": "a213e11a-5c62-4ddb-a707-490d91add383",
58
58
"metadata": {},
59
59
"outputs": [],
@@ -64,18 +64,10 @@
64
64
},
65
65
{
66
66
"cell_type": "code",
67
-
"execution_count": 2,
67
+
"execution_count": null,
68
68
"id": "23a1885c-04ab-4750-aefa-105891fddf3e",
69
69
"metadata": {},
70
-
"outputs": [
71
-
{
72
-
"name": "stdin",
73
-
"output_type": "stream",
74
-
"text": [
75
-
"OPENAI_API_KEY: ········\n"
76
-
]
77
-
}
78
-
],
70
+
"outputs": [],
79
71
"source": [
80
72
"import getpass\n",
81
73
"import os\n",
@@ -112,30 +104,10 @@
112
104
},
113
105
{
114
106
"cell_type": "code",
115
-
"execution_count": 3,
107
+
"execution_count": null,
116
108
"id": "7a154152-973e-4b5d-aa13-48c617744a4c",
117
109
"metadata": {},
118
-
"outputs": [
119
-
{
120
-
"name": "stdout",
121
-
"output_type": "stream",
122
-
"text": [
123
-
"0.2.0\n",
124
-
"02:38:15 langgraph.checkpoint.redis INFO Redis client is a standalone client\n",
125
-
"02:38:15 redisvl.index.index INFO Index already exists, not overwriting.\n",
126
-
"02:38:15 redisvl.index.index INFO Index already exists, not overwriting.\n",
127
-
"02:38:15 redisvl.index.index INFO Index already exists, not overwriting.\n"
128
-
]
129
-
},
130
-
{
131
-
"name": "stderr",
132
-
"output_type": "stream",
133
-
"text": [
134
-
"/tmp/ipykernel_519/104821471.py:41: LangGraphDeprecatedSinceV10: create_react_agent has been moved to `langchain.agents`. Please update your import to `from langchain.agents import create_agent`. Deprecated in LangGraph V1.0 to be removed in V2.0.\n",
135
-
" graph = create_react_agent(\n"
136
-
]
137
-
}
138
-
],
110
+
"outputs": [],
139
111
"source": [
140
112
"# First we initialize the model we want to use.\n",
0 commit comments