agent/pkg/brain/direct_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
488 B
Go

// SPDX-License-Identifier: EUPL-1.2
package brain
import core "dappco.re/go/core"
func ExampleNewDirect_name() {
sub := NewDirect()
core.Println(sub.Name())
// Output: brain
}
func ExampleRememberInput() {
input := RememberInput{Content: "Core uses Result pattern", Type: "observation"}
core.Println(input.Type)
// Output: observation
}
func ExampleRecallInput() {
input := RecallInput{Query: "how does Core handle errors", TopK: 5}
core.Println(input.TopK)
// Output: 5
}