fix: add missing Personas field to Router

This commit is contained in:
sam committed 2026-07-29 07:31:03 +10:00
1 parent d74ee3577c
commit 3af61bba27
1 file changed
+3 -1
+3 -1
View File
@@ -136,7 +136,9 @@ type Router struct {
// ModelPersist persists the active model selection so it survives
// restarts (e.g. writing back to identity config). nil = not configured.
ModelPersist func(ctx context.Context, modelRef string) error
Tasks TaskCreator // nil = /spawn not configured
// Personas holds the available personality registry for /personality.
Personas *PersonaRegistry
Tasks TaskCreator // nil = /spawn not configured
Controller TaskController // nil = /approve and /cancel not configured
LLM LLMResponder // nil = LLM not wired yet
// LLMStream is the optional streaming responder. When set, adapters