agent/pkg/brain/actions_example_test.go
Virgil f7cbf58470 fix(brain): register RFC named actions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 10:49:22 +00:00

20 lines
353 B
Go

// SPDX-License-Identifier: EUPL-1.2
package brain
import (
"context"
core "dappco.re/go/core"
)
func ExampleRegister_actions() {
c := core.New(core.WithService(Register))
c.ServiceStartup(context.Background(), nil)
core.Println(c.Action("brain.list").Exists())
core.Println(c.Action("message.send").Exists())
// Output:
// true
// true
}