fix(butler): 降低痛点检测阈值 3→2/2→1,更早发现用户需求
This commit is contained in:
@@ -322,10 +322,10 @@ pub fn analyze_for_pain_signals(messages: &[zclaw_types::Message]) -> Option<Pai
|
||||
let combined = user_frustrations.join(" ");
|
||||
let severity = if combined.contains("烦死了")
|
||||
|| combined.contains("受不了")
|
||||
|| user_frustrations.len() >= 3
|
||||
|| user_frustrations.len() >= 2
|
||||
{
|
||||
PainSeverity::High
|
||||
} else if user_frustrations.len() >= 2 {
|
||||
} else if user_frustrations.len() >= 1 {
|
||||
PainSeverity::Medium
|
||||
} else {
|
||||
PainSeverity::Low
|
||||
|
||||
Reference in New Issue
Block a user