from pathlib import Pathfrom agno.agent import Agentfrom agno.media import Filefrom agno.models.google import Geminifrom agno.utils.media import download_filepdf_path = Path(__file__).parent.joinpath("ThaiRecipes.pdf")# Download the file using the download_file functiondownload_file( "https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf", str(pdf_path))agent = Agent( model=Gemini(id="gemini-2.0-flash-exp"), markdown=True, add_history_to_messages=True,)agent.print_response( "Summarize the contents of the attached file.", files=[File(filepath=pdf_path)],)agent.print_response("Suggest me a recipe from the attached file.")