From fbe513835fd2c67bb5d955abd9e0e8a7e252f729 Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Thu, 12 Dec 2024 11:53:55 -0500 Subject: [PATCH] docs: update type annotations (#2739) --- docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb b/docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb index 1ff3714c4..6ec8059bd 100644 --- a/docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb +++ b/docs/docs/how-tos/multi-agent-multi-turn-convo.ipynb @@ -184,7 +184,7 @@ "\n", "def travel_advisor(\n", " state: MessagesState,\n", - ") -> Command[Literal[\"sightseeing_advisor\", \"hotel_advisor\", \"__end__\"]]:\n", + ") -> Command[Literal[\"sightseeing_advisor\", \"hotel_advisor\", \"human\"]]:\n", " system_prompt = (\n", " \"You are a general travel expert that can recommend travel destinations (e.g. countries, cities, etc). \"\n", " \"If you need specific sightseeing recommendations, ask 'sightseeing_advisor' for help. \"\n", @@ -206,7 +206,7 @@ "\n", "def sightseeing_advisor(\n", " state: MessagesState,\n", - ") -> Command[Literal[\"travel_advisor\", \"hotel_advisor\", \"__end__\"]]:\n", + ") -> Command[Literal[\"travel_advisor\", \"hotel_advisor\", \"human\"]]:\n", " system_prompt = (\n", " \"You are a travel expert that can provide specific sightseeing recommendations for a given destination. \"\n", " \"If you need general travel help, go to 'travel_advisor' for help. \"\n", @@ -232,7 +232,7 @@ "\n", "def hotel_advisor(\n", " state: MessagesState,\n", - ") -> Command[Literal[\"travel_advisor\", \"sightseeing_advisor\", \"__end__\"]]:\n", + ") -> Command[Literal[\"travel_advisor\", \"sightseeing_advisor\", \"human\"]]:\n", " system_prompt = (\n", " \"You are a travel expert that can provide hotel recommendations for a given destination. \"\n", " \"If you need general travel help, ask 'travel_advisor' for help. \"\n",