fix(messageutil): remove dead code

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
LCandCopilot Autofix powered by AI authored and GitHub committed 2026-04-24 22:16:18 +08:00
1 parent bb0f983708
commit 979ff00cc3
1 file changed
-3
-3
View File
@@ -34,8 +34,5 @@ func FilterInvalidHistoryMessages(history []protocoltypes.Message) []protocoltyp
}
filtered = append(filtered, msg)
}
if filtered == nil {
return []protocoltypes.Message{}
}
return filtered
}