feat: add legacy tag deprecated components (#7142)

add legacy tag
This commit is contained in:
Edwin Jose 2025-03-18 17:48:47 -04:00 committed by GitHub
commit a17b524606
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@ class AlterMetadataComponent(Component):
description = "Adds/Removes Metadata Dictionary on inputs"
icon = "merge"
name = "AlterMetadata"
legacy = True
inputs = [
HandleInput(

View file

@ -14,7 +14,7 @@ class JSONCleaner(Component):
"Cleans the messy and sometimes incorrect JSON strings produced by LLMs "
"so that they are fully compliant with the JSON spec."
)
legacy = True
inputs = [
MessageTextInput(
name="json_str", display_name="JSON String", info="The JSON string to be cleaned.", required=True