feat: make YouTube Transcripts URL field required (#5686)

feat: Enhance YouTube Transcripts component by adding required field validation to URL input

This change ensures that users provide a video URL before using the YouTube Transcripts component, preventing potential runtime errors due to missing video source.
This commit is contained in:
Vinícios Batista da Silva 2025-01-16 18:34:39 -03:00 committed by GitHub
commit 47dc891ecc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ class YouTubeTranscriptsComponent(Component):
display_name="Video URL",
info="Enter the YouTube video URL to get transcripts from.",
tool_mode=True,
required=True,
),
DropdownInput(
name="transcript_format",