Files
ds2api/internal/httpapi/claude/output_clean.go
2026-04-26 06:58:20 +08:00

14 lines
263 B
Go

package claude
import textclean "ds2api/internal/textclean"
func cleanVisibleOutput(text string, stripReferenceMarkers bool) string {
if text == "" {
return text
}
if stripReferenceMarkers {
text = textclean.StripReferenceMarkers(text)
}
return text
}