surf-spot-finder / examples /langchain_single_agent_user_confirmation.yaml
Nathan Brake
support for anyagent (#41)
0b1aa61 unverified
raw
history blame
832 Bytes
location: Pontevedra
date: 2025-03-27 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.
framework: langchain
main_agent:
model_id: gpt-4o
# model_id: ollama/llama3.1:latest
api_key_var: OPENAI_API_KEY
agent_type: langchain
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"