in HuggingChat-Mac/Models/AccessibilityHelpers.swift [393:401]
func pasteText(_ text: String) -> Bool {
// First try using the pasteboard - this is the most reliable method
if pasteThroughPasteboard(text) {
return true
}
// Fall back to accessibility API if pasteboard method fails
return pasteThroughAccessibility(text)
}