Fix hallucination filter issue

This commit is contained in:
Beingpax 2025-09-18 10:47:02 +05:45
parent cb74f2fb12
commit ba4a5d3f86

View File

@ -12,7 +12,7 @@ struct WhisperHallucinationFilter {
private static let fillerWords = [
"uh", "um", "uhm", "umm", "uhh", "uhhh", "er", "ah", "eh",
"hmm", "hm", "h", "m", "mmm", "mm", "mh", "ha", "ehh"
"hmm", "hm", "mmm", "mm", "mh", "ha", "ehh"
]
static func filter(_ text: String) -> String {
logger.notice("🧹 Filtering hallucinations and filler words")