merge: issue/0028-decouple-launcher — auto-discovery de agentes via init()
# Conflicts: # dev/issues/README.md
This commit is contained in:
@@ -3,9 +3,14 @@
|
||||
package asistente2
|
||||
|
||||
import (
|
||||
"github.com/enmanuel/agents/agents"
|
||||
"github.com/enmanuel/agents/pkg/decision"
|
||||
)
|
||||
|
||||
func init() {
|
||||
agents.Register("asistente-2", Rules)
|
||||
}
|
||||
|
||||
// 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 {
|
||||
|
||||
Reference in New Issue
Block a user