from pathlib import Pathfrom agno.agent import Agentfrom agno.media import Filefrom agno.models.openai.responses import OpenAIResponsesfrom 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=OpenAIResponses(id="gpt-4o-mini"), tools=[{"type": "file_search"}], 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.")