// Package asistente2 defines the pure rules for the asistente-2 bot. // This agent uses tool_use (current_time) to demonstrate the tool-use loop. package asistente2 import ( "github.com/enmanuel/agents/pkg/decision" ) // Rules returns the decision rules for the asistente-2 bot. // Note: !help is now handled by the built-in command system. func Rules() []decision.Rule { return []decision.Rule{ // Any DM or mention → LLM (with tool-use enabled) { Name: "llm-all", Match: func(ctx decision.MessageContext) bool { return ctx.IsDirectMsg || ctx.IsMention }, Actions: []decision.Action{{ Kind: decision.ActionKindLLM, LLM: &decision.LLMAction{}, }}, }, } }