Update task.py
Browse files
task.py
CHANGED
@@ -4,9 +4,9 @@ from agent import trip_planner_agent
|
|
4 |
trip_itinerary_task = Task(
|
5 |
description=(
|
6 |
"Generate a travel itinerary for the destination: {destination} for the dates {arrival_date} to {departure_date}. "
|
7 |
-
"The output should be in the following format (as shown in my-itinerary1.md):\n"
|
8 |
-
"Top 10 places to visit in {destination}:\n1. ...\n...\n\nDay-by-day schedule with specific activities and attractions:\nDay 1: ...\n* Morning: ...\n* Afternoon: ...\n* Evening: ...\n...\n\
|
9 |
-
"
|
10 |
),
|
11 |
agent=trip_planner_agent,
|
12 |
expected_output="A markdown-formatted itinerary as described above.",
|
|
|
4 |
trip_itinerary_task = Task(
|
5 |
description=(
|
6 |
"Generate a travel itinerary for the destination: {destination} for the dates {arrival_date} to {departure_date}. "
|
7 |
+
"The output should be ONLY a markdown-formatted itinerary in the following format (as shown in my-itinerary1.md):\n"
|
8 |
+
"Top 10 places to visit in {destination}:\n1. ...\n...\n\nDay-by-day schedule with specific activities and attractions:\nDay 1: ...\n* Morning: ...\n* Afternoon: ...\n* Evening: ...\n...\n\n"
|
9 |
+
"Do NOT include any thoughts, tool logs, or JSON. Only output the final itinerary in markdown."
|
10 |
),
|
11 |
agent=trip_planner_agent,
|
12 |
expected_output="A markdown-formatted itinerary as described above.",
|