diff --git a/examples/tools/example_agent.py b/examples/tools/example_agent.py index 95049f5..73515a4 100644 --- a/examples/tools/example_agent.py +++ b/examples/tools/example_agent.py @@ -1,5 +1,3 @@ -import os - from dotenv import load_dotenv from griptape.file.tools.open_file_tool import OpenFileTool @@ -7,10 +5,7 @@ load_dotenv() -script_dir = os.path.dirname(os.path.abspath(__file__)) -parent_dir = os.path.dirname(script_dir) -images_dir = os.path.join(parent_dir, "media") agent = Agent(tools=[OpenFileTool()]) -agent.run(f"Show me the image at {images_dir}/capybara_cloud.jpeg") +agent.run("Can you show me the image at examples/media/capybara_cloud.jpeg?")