Spaces:
Running
Running
Nathan Brake
Make location/framework/date/distance be inputs rather than config controlled by default (#55)
ba24588
unverified
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 a friend using the send_console_message any_agent.tools.ask_user_verification | |
You should recommend some choices to them 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. | |
main_agent: | |
model_id: # optional, will prompt for it if not provided | |
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={{ path_variable }},dst=/projects" # this is the custom part where for demo purposes we will check this in config.py | |
- "mcp/filesystem" | |
- "/projects" | |
tools: | |
- "read_file" | |
- "write_file" | |
- "directory_tree" | |
- "list_allowed_directories" | |