docs(agentic): improve handler usage example

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-02 08:04:51 +00:00
parent 9f9e42768d
commit 791fc1a3a1

View file

@ -9,7 +9,8 @@ import (
core "dappco.re/go/core"
)
// RegisterHandlers(c, subsystem)
// c := core.New(core.WithService(agentic.ProcessRegister))
// agentic.RegisterHandlers(c, agentic.NewPrep())
// c.ACTION(messages.AgentCompleted{Workspace: "core/go-io/task-5", Repo: "go-io", Status: "completed"})
func RegisterHandlers(c *core.Core, s *PrepSubsystem) {
if c == nil || s == nil {