From 3af61bba279180a8ea6eaa218d5d87c946c7f88c Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Wed, 29 Jul 2026 07:31:03 +1000 Subject: [PATCH] fix: add missing Personas field to Router --- internal/gateway/gateway.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/gateway/gateway.go b/internal/gateway/gateway.go index 1d60b40b8..514d583f2 100644 --- a/internal/gateway/gateway.go +++ b/internal/gateway/gateway.go @@ -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