From 45cce2a7a75ba0c829652d390e3595f0403e4cef Mon Sep 17 00:00:00 2001 From: SakoroYou <165740095+Sakurapainting@users.noreply.github.com> Date: Fri, 27 Mar 2026 19:10:48 +0800 Subject: [PATCH] fix: avoid misleading message RunChannelsOnly reuses createStartupProvider(), which emits user-facing text that says "gateway started in limited mode" when --allow-empty is used. In channel-only mode this message is misleading; consider parameterizing createStartupProvider() (or wrapping it) so the limited-mode warning references the correct runtime. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pkg/gateway/channel_only.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/gateway/channel_only.go b/pkg/gateway/channel_only.go index 28046c393..d94d3482b 100644 --- a/pkg/gateway/channel_only.go +++ b/pkg/gateway/channel_only.go @@ -67,6 +67,9 @@ func RunChannelsOnly(debug bool, homePath, configPath string, allowEmptyStartup return fmt.Errorf("error creating provider: %w", err) } + if allowEmptyStartup { + fmt.Println("⚠️ Channel-only runtime started in limited mode (--allow-empty); no startup agents are configured.") + } if modelID != "" { cfg.Agents.Defaults.ModelName = modelID }