docs: update type annotations (#2739)

This commit is contained in:
Vadym Barda
2024-12-12 11:53:55 -05:00
committed by GitHub
parent cbb7348998
commit fbe513835f
@@ -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",