mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
Update function comment for SanitizeMessageContent
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user