surf-spot-finder / examples /openai_single_agent_user_confirmation.yaml
Nathan Brake
Update to work with newer any-agent code (#51)
cdd4ebc unverified
raw
history blame
1.28 kB
location: Pontevedra
date: 2025-04-10 12:00
max_driving_hours: 2
input_prompt_template: |
According to the forecast, what will be the best spot to surf around {LOCATION},
in a {MAX_DRIVING_HOURS} hour driving radius, at {DATE}?
Find a few options and then discuss it with David de la Iglesia Castro. You should recommend him some choices,
and then confirm the final selection with him.
Once he gives the final selection, save a detailed description of the weather at the chosen location into a file
named "final_answer.txt". Also save a file called "history.txt" which has a list of your thought process in the choice.
framework: openai
main_agent:
model_id: gpt-4o
tools:
- "surf_spot_finder.tools.driving_hours_to_meters"
- "surf_spot_finder.tools.get_area_lat_lon"
- "surf_spot_finder.tools.get_surfing_spots"
- "surf_spot_finder.tools.get_wave_forecast"
- "surf_spot_finder.tools.get_wind_forecast"
- "any_agent.tools.send_console_message"
- command: "docker"
args:
- "run"
- "-i"
- "--rm"
- "--mount"
- "type=bind,src=/tmp/surf-spot-finder,dst=/projects"
- "mcp/filesystem"
- "/projects"
tools:
- "read_file"
- "write_file"
- "directory_tree"
- "list_allowed_directories"