diff --git a/visual_workflow_builder/backend/api_v3/execute.py b/visual_workflow_builder/backend/api_v3/execute.py index 4e27fc831..2c4a098a5 100644 --- a/visual_workflow_builder/backend/api_v3/execute.py +++ b/visual_workflow_builder/backend/api_v3/execute.py @@ -272,7 +272,7 @@ def _handle_detected_pattern(pattern: Dict[str, Any]) -> bool: candidate_lower = candidate.lower() for word in words: word_text = word['text'].lower() - if len(word_text) < 3 or len(candidate_lower) < 3: + if len(word_text) < 2 or len(candidate_lower) < 2: continue if word_text == candidate_lower: x1, y1, x2, y2 = word['bbox']