diff --git a/docs/docs/how-tos/autogen-integration-functional.ipynb b/docs/docs/how-tos/autogen-integration-functional.ipynb index 11b81be21..8f2888fa9 100644 --- a/docs/docs/how-tos/autogen-integration-functional.ipynb +++ b/docs/docs/how-tos/autogen-integration-functional.ipynb @@ -170,8 +170,6 @@ "metadata": {}, "outputs": [], "source": [ - "from typing import Literal, TypedDict\n", - "\n", "from langchain_core.messages import convert_to_openai_messages, BaseMessage\n", "from langgraph.func import entrypoint, task\n", "from langgraph.graph import add_messages\n", @@ -224,12 +222,12 @@ "name": "stdout", "output_type": "stream", "text": [ - "\u001b[33muser_proxy\u001b[0m (to assistant):\n", + "\u001B[33muser_proxy\u001B[0m (to assistant):\n", "\n", "Find numbers between 10 and 30 in fibonacci sequence\n", "\n", "--------------------------------------------------------------------------------\n", - "\u001b[33massistant\u001b[0m (to user_proxy):\n", + "\u001B[33massistant\u001B[0m (to user_proxy):\n", "\n", "To find numbers between 10 and 30 in the Fibonacci sequence, we can generate the Fibonacci sequence and check which numbers fall within this range. Here's a plan:\n", "\n", @@ -255,9 +253,9 @@ "This script will print the Fibonacci numbers between 10 and 30. Please execute the code to see the result.\n", "\n", "--------------------------------------------------------------------------------\n", - "\u001b[31m\n", - ">>>>>>>> EXECUTING CODE BLOCK 0 (inferred language is python)...\u001b[0m\n", - "\u001b[33muser_proxy\u001b[0m (to assistant):\n", + "\u001B[31m\n", + ">>>>>>>> EXECUTING CODE BLOCK 0 (inferred language is python)...\u001B[0m\n", + "\u001B[33muser_proxy\u001B[0m (to assistant):\n", "\n", "exitcode: 0 (execution succeeded)\n", "Code output: \n", @@ -266,7 +264,7 @@ "\n", "\n", "--------------------------------------------------------------------------------\n", - "\u001b[33massistant\u001b[0m (to user_proxy):\n", + "\u001B[33massistant\u001B[0m (to user_proxy):\n", "\n", "The Fibonacci numbers between 10 and 30 are 13 and 21. \n", "\n", @@ -320,7 +318,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "\u001b[33muser_proxy\u001b[0m (to assistant):\n", + "\u001B[33muser_proxy\u001B[0m (to assistant):\n", "\n", "Multiply the last number by 3\n", "Context: \n", @@ -336,7 +334,7 @@ "TERMINATE\n", "\n", "--------------------------------------------------------------------------------\n", - "\u001b[33massistant\u001b[0m (to user_proxy):\n", + "\u001B[33massistant\u001B[0m (to user_proxy):\n", "\n", "The last number in the Fibonacci sequence between 10 and 30 is 21. Multiplying 21 by 3 gives:\n", "\n", diff --git a/docs/docs/how-tos/autogen-integration.ipynb b/docs/docs/how-tos/autogen-integration.ipynb index 92199cc78..5e58a260c 100644 --- a/docs/docs/how-tos/autogen-integration.ipynb +++ b/docs/docs/how-tos/autogen-integration.ipynb @@ -168,8 +168,6 @@ "metadata": {}, "outputs": [], "source": [ - "from typing import Literal, TypedDict\n", - "\n", "from langchain_core.messages import convert_to_openai_messages\n", "from langgraph.graph import StateGraph, MessagesState, START\n", "from langgraph.checkpoint.memory import MemorySaver\n", @@ -241,12 +239,12 @@ "name": "stdout", "output_type": "stream", "text": [ - "\u001b[33muser_proxy\u001b[0m (to assistant):\n", + "\u001B[33muser_proxy\u001B[0m (to assistant):\n", "\n", "Find numbers between 10 and 30 in fibonacci sequence\n", "\n", "--------------------------------------------------------------------------------\n", - "\u001b[33massistant\u001b[0m (to user_proxy):\n", + "\u001B[33massistant\u001B[0m (to user_proxy):\n", "\n", "To find numbers between 10 and 30 in the Fibonacci sequence, we can generate the Fibonacci sequence and check which numbers fall within this range. Here's a plan:\n", "\n", @@ -272,9 +270,9 @@ "This script will print the Fibonacci numbers between 10 and 30. Please execute the code to see the result.\n", "\n", "--------------------------------------------------------------------------------\n", - "\u001b[31m\n", - ">>>>>>>> EXECUTING CODE BLOCK 0 (inferred language is python)...\u001b[0m\n", - "\u001b[33muser_proxy\u001b[0m (to assistant):\n", + "\u001B[31m\n", + ">>>>>>>> EXECUTING CODE BLOCK 0 (inferred language is python)...\u001B[0m\n", + "\u001B[33muser_proxy\u001B[0m (to assistant):\n", "\n", "exitcode: 0 (execution succeeded)\n", "Code output: \n", @@ -283,7 +281,7 @@ "\n", "\n", "--------------------------------------------------------------------------------\n", - "\u001b[33massistant\u001b[0m (to user_proxy):\n", + "\u001B[33massistant\u001B[0m (to user_proxy):\n", "\n", "The Fibonacci numbers between 10 and 30 are 13 and 21. \n", "\n", @@ -338,7 +336,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "\u001b[33muser_proxy\u001b[0m (to assistant):\n", + "\u001B[33muser_proxy\u001B[0m (to assistant):\n", "\n", "Multiply the last number by 3\n", "Context: \n", @@ -354,7 +352,7 @@ "TERMINATE\n", "\n", "--------------------------------------------------------------------------------\n", - "\u001b[33massistant\u001b[0m (to user_proxy):\n", + "\u001B[33massistant\u001B[0m (to user_proxy):\n", "\n", "The last number in the Fibonacci sequence between 10 and 30 is 21. Multiplying 21 by 3 gives:\n", "\n",