Fix lint errors

This commit is contained in:
Hoshina committed 2026-02-27 20:15:21 +08:00
1 parent fa68023ac2
commit 7276a2d651
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import (
"unicode"
)
// SanitizeMessage removes Unicode control characters, format characters (RTL overrides,
// SanitizeMessageContent removes Unicode control characters, format characters (RTL overrides,
// zero-width characters), and other non-graphic characters that could confuse an LLM
// or cause display issues in the agent UI.
func SanitizeMessageContent(input string) string {