agent/pkg/brain/provider_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

23 lines
452 B
Go

// SPDX-License-Identifier: EUPL-1.2
package brain
import core "dappco.re/go/core"
func ExampleNewProvider() {
p := NewProvider(nil, nil)
core.Println(p.Name())
// Output: brain
}
func ExampleBrainProvider_BasePath() {
provider := NewProvider(nil, nil)
core.Println(provider.BasePath())
// Output: /api/brain
}
func ExampleBrainProvider_Channels() {
provider := NewProvider(nil, nil)
core.Println(len(provider.Channels()))
// Output: 3
}