diff --git a/pkg/agentic/prep.go b/pkg/agentic/prep.go index 3b63a7f..c2d14e7 100644 --- a/pkg/agentic/prep.go +++ b/pkg/agentic/prep.go @@ -78,7 +78,7 @@ func NewPrep() *PrepSubsystem { } // c.Action("agentic.dispatch").Run(ctx, options) -// c.Actions() // ["agentic.dispatch", "agentic.prep", "agentic.status", "agentic.verify"] +// core.Println(c.Actions()) // inspect the registered action names at startup func (s *PrepSubsystem) OnStartup(ctx context.Context) core.Result { c := s.Core() diff --git a/pkg/brain/actions.go b/pkg/brain/actions.go index 4983e4b..3d572e5 100644 --- a/pkg/brain/actions.go +++ b/pkg/brain/actions.go @@ -8,7 +8,7 @@ import ( core "dappco.re/go/core" ) -type directOptions struct{} +type DirectOptions struct{} // subsystem := brain.NewDirect() // _ = subsystem.OnStartup(context.Background()) diff --git a/pkg/brain/direct.go b/pkg/brain/direct.go index e79fb4a..6718ad8 100644 --- a/pkg/brain/direct.go +++ b/pkg/brain/direct.go @@ -16,7 +16,7 @@ import ( // subsystem := brain.NewDirect() // core.Println(subsystem.Name()) // "brain" type DirectSubsystem struct { - *core.ServiceRuntime[directOptions] + *core.ServiceRuntime[DirectOptions] apiURL string apiKey string } diff --git a/pkg/brain/register.go b/pkg/brain/register.go index d37f0a8..0f00a6d 100644 --- a/pkg/brain/register.go +++ b/pkg/brain/register.go @@ -11,6 +11,6 @@ import ( // core.Println(subsystem.OK) // true func Register(c *core.Core) core.Result { subsystem := NewDirect() - subsystem.ServiceRuntime = core.NewServiceRuntime(c, directOptions{}) + subsystem.ServiceRuntime = core.NewServiceRuntime(c, DirectOptions{}) return core.Result{Value: subsystem, OK: true} }