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:
parent
c51e57c7de
commit
47dc891ecc
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ class YouTubeTranscriptsComponent(Component):
|
||||||
display_name="Video URL",
|
display_name="Video URL",
|
||||||
info="Enter the YouTube video URL to get transcripts from.",
|
info="Enter the YouTube video URL to get transcripts from.",
|
||||||
tool_mode=True,
|
tool_mode=True,
|
||||||
|
required=True,
|
||||||
),
|
),
|
||||||
DropdownInput(
|
DropdownInput(
|
||||||
name="transcript_format",
|
name="transcript_format",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue