feat: añadir agente meteorologo con tool get_weather
Nuevo agente Matrix especializado en consultas meteorológicas. Usa la API pública Open-Meteo (sin API key) para obtener condiciones actuales y previsión de 3 días para cualquier ciudad. Incluye: - agents/meteorologo/ — reglas puras, config.yaml, system prompt - tools/weather.go — tool get_weather (geocoding + forecast) - Registro en runtime.go (tool registry) y launcher (rulesRegistry) El agente responde a DMs y menciones delegando al LLM con tool_use habilitado. No tiene comandos directos (!xxx). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -742,6 +742,10 @@ func buildToolRegistry(
|
||||
reg.Register(tools.NewCurrentTime())
|
||||
logger.Debug("registered current_time tool")
|
||||
|
||||
// weather tool is always available
|
||||
reg.Register(tools.NewWeather())
|
||||
logger.Debug("registered weather tool")
|
||||
|
||||
// matrix_send is always available
|
||||
reg.Register(tools.NewMatrixSend(matrixClient))
|
||||
logger.Debug("registered matrix tool")
|
||||
|
||||
Reference in New Issue
Block a user