diff --git a/src/backend/base/langflow/graph/graph/base.py b/src/backend/base/langflow/graph/graph/base.py index 3baeac8ae84..04308839217 100644 --- a/src/backend/base/langflow/graph/graph/base.py +++ b/src/backend/base/langflow/graph/graph/base.py @@ -323,7 +323,7 @@ async def _run( vertex = self.get_vertex(vertex_id) # If the vertex is not in the input_components list if input_components and ( - vertex_id not in input_components or vertex.display_name not in input_components + vertex_id not in input_components and vertex.display_name not in input_components ): continue # If the input_type is not any and the input_type is not in the vertex id