From 1bc450fb90cd25020681afa75d4284e3a16e8620 Mon Sep 17 00:00:00 2001 From: Edwin Jose Date: Fri, 14 Mar 2025 13:18:07 -0400 Subject: [PATCH] feat: add agent component to skip update in template loading. (#7077) * error fix * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- src/backend/base/langflow/initial_setup/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base/langflow/initial_setup/setup.py b/src/backend/base/langflow/initial_setup/setup.py index ef9cdae9b..10ef707e1 100644 --- a/src/backend/base/langflow/initial_setup/setup.py +++ b/src/backend/base/langflow/initial_setup/setup.py @@ -57,7 +57,7 @@ def update_projects_components_with_latest_component_versions(project_data, all_ node_type = node.get("data").get("type") # Skip updating if tool_mode is True - if node_data.get("tool_mode", False): + if node_data.get("tool_mode", False) or node_data.get("key") == "Agent": continue # Skip nodes with outputs of the specified format