PersonaTrip-Agent / test_web_search.py
tracyshen301
Configure Git LFS for image assets and prepare for push
ca1a2dd
raw
history blame contribute delete
763 Bytes
import asyncio
import os
from dotenv import load_dotenv
from tools.personalized_planner import create_personalized_plan
load_dotenv()
TEST_USER_NAME = "Tracy"
TEST_NEW_DESTINATION = "Kyoto"
TEST_TRIP_DURATION_DAYS = 5
TEST_USER_REQUEST = "I want a culturally immersive and food-focused experience, ideally with some relaxing moments too."
async def run_test():
print("🚀 Running test for personalized travel plan...\n")
result = await create_personalized_plan(
user_name=TEST_USER_NAME,
new_destination=TEST_NEW_DESTINATION,
trip_duration_days=TEST_TRIP_DURATION_DAYS,
user_request=TEST_USER_REQUEST
)
print("\n📒 Generated Plan:\n")
print(result)
if __name__ == "__main__":
asyncio.run(run_test())