From 1ea072b4836fe28332c743105869492fe1c9a080 Mon Sep 17 00:00:00 2001 From: Sakurapainting Date: Thu, 2 Apr 2026 09:24:02 +0800 Subject: [PATCH] style(gateway): shorten shutdown runtime signature --- pkg/gateway/channel_only.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/gateway/channel_only.go b/pkg/gateway/channel_only.go index 8c97bf435..1bd92b303 100644 --- a/pkg/gateway/channel_only.go +++ b/pkg/gateway/channel_only.go @@ -240,7 +240,11 @@ func isLoopbackHost(host string) bool { return ip != nil && ip.IsLoopback() } -func shutdownChannelRuntime(runningServices *channelServices, agentLoop *agent.AgentLoop, provider providers.LLMProvider) { +func shutdownChannelRuntime( + runningServices *channelServices, + agentLoop *agent.AgentLoop, + provider providers.LLMProvider, +) { if cp, ok := provider.(providers.StatefulProvider); ok { cp.Close() }