rajaramesh commited on
Commit
30e0bd5
·
verified ·
1 Parent(s): 267ec12

Update task.py

Browse files
Files changed (1) hide show
  1. task.py +3 -3
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\nInclude specific attractions, activities, and local highlights for each day. "
9
- "Use up-to-date information and tailor the plan to the number of days between arrival and departure."
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.",