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>
This commit is contained in:
Edwin Jose 2025-03-14 13:18:07 -04:00 committed by GitHub
commit 1bc450fb90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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