agent/pkg/brain/brain_example_test.go
Snider ecd47fe3db revert fcb9c189e5
revert fix(agentic): harden TODO workspace write

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-18 11:22:27 +00:00

19 lines
350 B
Go

// SPDX-License-Identifier: EUPL-1.2
package brain
import (
core "dappco.re/go/core"
)
func ExampleNew() {
sub := New(nil)
core.Println(sub.Name())
// Output: brain
}
func ExampleRegister_services() {
c := core.New(core.WithService(Register))
core.Println(c.Services())
// Output is non-deterministic (slice order), so no Output comment
}