Update function comment for SanitizeMessageContent
This commit is contained in:
parent
440ce617a3
commit
a6da1b5905
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"unicode"
|
"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
|
// zero-width characters), and other non-graphic characters that could confuse an LLM
|
||||||
// or cause display issues in the agent UI.
|
// or cause display issues in the agent UI.
|
||||||
func SanitizeMessageContent(input string) string {
|
func SanitizeMessageContent(input string) string {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue