From 39f152c0ebdfa8926009af0ed3542aba93d2b323 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 14:35:20 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20[code=20health=20improvement]=20?= =?UTF-8?q?Remove=20unused=20defaultHandshakeProfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed the unused `defaultHandshakeProfile` function from `internal/plugins/backends/acp/handshake.go` as it was dead code. Tested by running the full test suite (`go test ./...`) which passed. Co-authored-by: matdev83 <211248003+matdev83@users.noreply.github.com> --- internal/plugins/backends/acp/handshake.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/plugins/backends/acp/handshake.go b/internal/plugins/backends/acp/handshake.go index 4dcb9d13..ee0e0d11 100644 --- a/internal/plugins/backends/acp/handshake.go +++ b/internal/plugins/backends/acp/handshake.go @@ -30,12 +30,6 @@ type HandshakeProfile struct { SessionNewMCPServers json.RawMessage } -func defaultHandshakeProfile() HandshakeProfile { - return HandshakeProfile{ - ProtocolVersion: 1, - } -} - func mergeHandshakeProfile(cfg Config, call *lipapi.Call) HandshakeProfile { p := cfg.Handshake if p.ProtocolVersion == 0 {