File size: 1,283 Bytes
0b1aa61
 
cdd4ebc
0b1aa61
 
 
 
 
 
5d6330b
 
0b1aa61
 
 
6646f61
 
 
 
 
 
 
0b1aa61
5d6330b
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

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"