adding support for more notebooks in CI (#2060)

This commit is contained in:
Isaac Francisco
2024-10-10 01:48:13 +00:00
committed by GitHub
parent db0f508269
commit aa83f4a33e
6 changed files with 36 additions and 19 deletions
@@ -85,7 +85,7 @@
"cell_type": "code",
"execution_count": 21,
"id": "71638c2a-5038-439e-907a-de2bb548db34",
"metadata": {},
"metadata": {"hide_from_vcr": true},
"outputs": [],
"source": [
"import os\n",
@@ -176,7 +176,7 @@
"cell_type": "code",
"execution_count": 22,
"id": "654e2f81",
"metadata": {},
"metadata": {"hide_from_vcr": true},
"outputs": [],
"source": [
"import re\n",
@@ -2340,10 +2340,13 @@
" # We have an interrupt! The agent is trying to use a tool, and the user can approve or deny it\n",
" # Note: This code is all outside of your graph. Typically, you would stream the output to a UI.\n",
" # Then, you would have the frontend trigger a new run via an API call when the user has provided input.\n",
" user_input = input(\n",
" \"Do you approve of the above actions? Type 'y' to continue;\"\n",
" \" otherwise, explain your requested changed.\\n\\n\"\n",
" )\n",
" try:\n",
" user_input = input(\n",
" \"Do you approve of the above actions? Type 'y' to continue;\"\n",
" \" otherwise, explain your requested changed.\\n\\n\"\n",
" )\n",
" except:\n",
" user_input = \"y\"\n",
" if user_input.strip() == \"y\":\n",
" # Just continue\n",
" result = part_2_graph.invoke(\n",
@@ -2958,10 +2961,13 @@
" # We have an interrupt! The agent is trying to use a tool, and the user can approve or deny it\n",
" # Note: This code is all outside of your graph. Typically, you would stream the output to a UI.\n",
" # Then, you would have the frontend trigger a new run via an API call when the user has provided input.\n",
" user_input = input(\n",
" \"Do you approve of the above actions? Type 'y' to continue;\"\n",
" \" otherwise, explain your requested changed.\\n\\n\"\n",
" )\n",
" try:\n",
" user_input = input(\n",
" \"Do you approve of the above actions? Type 'y' to continue;\"\n",
" \" otherwise, explain your requested changed.\\n\\n\"\n",
" )\n",
" except:\n",
" user_input = \"y\"\n",
" if user_input.strip() == \"y\":\n",
" # Just continue\n",
" result = part_3_graph.invoke(\n",
@@ -4373,10 +4379,13 @@
" # We have an interrupt! The agent is trying to use a tool, and the user can approve or deny it\n",
" # Note: This code is all outside of your graph. Typically, you would stream the output to a UI.\n",
" # Then, you would have the frontend trigger a new run via an API call when the user has provided input.\n",
" user_input = input(\n",
" \"Do you approve of the above actions? Type 'y' to continue;\"\n",
" \" otherwise, explain your requested changed.\\n\\n\"\n",
" )\n",
" try:\n",
" user_input = input(\n",
" \"Do you approve of the above actions? Type 'y' to continue;\"\n",
" \" otherwise, explain your requested changed.\\n\\n\"\n",
" )\n",
" except:\n",
" user_input = \"y\"\n",
" if user_input.strip() == \"y\":\n",
" # Just continue\n",
" result = part_4_graph.invoke(\n",