Update youtube_utils.py
Browse files- youtube_utils.py +4 -1
youtube_utils.py
CHANGED
|
@@ -34,17 +34,20 @@ class YouTubeTranscriptTool(Tool):
|
|
| 34 |
"language": {
|
| 35 |
"type": "string",
|
| 36 |
"description": "Language code (e.g., 'en', 'es', 'fr'). Optional, defaults to auto-detect",
|
| 37 |
-
"default": "auto"
|
|
|
|
| 38 |
},
|
| 39 |
"include_timestamps": {
|
| 40 |
"type": "boolean",
|
| 41 |
"description": "Whether to include timestamps in the output",
|
| 42 |
"default": False
|
|
|
|
| 43 |
},
|
| 44 |
"clean_text": {
|
| 45 |
"type": "boolean",
|
| 46 |
"description": "Whether to clean and format the text (remove extra spaces, fix punctuation)",
|
| 47 |
"default": True
|
|
|
|
| 48 |
}
|
| 49 |
}
|
| 50 |
|
|
|
|
| 34 |
"language": {
|
| 35 |
"type": "string",
|
| 36 |
"description": "Language code (e.g., 'en', 'es', 'fr'). Optional, defaults to auto-detect",
|
| 37 |
+
"default": "auto",
|
| 38 |
+
"nullable": True,
|
| 39 |
},
|
| 40 |
"include_timestamps": {
|
| 41 |
"type": "boolean",
|
| 42 |
"description": "Whether to include timestamps in the output",
|
| 43 |
"default": False
|
| 44 |
+
"nullable": True,
|
| 45 |
},
|
| 46 |
"clean_text": {
|
| 47 |
"type": "boolean",
|
| 48 |
"description": "Whether to clean and format the text (remove extra spaces, fix punctuation)",
|
| 49 |
"default": True
|
| 50 |
+
"nullable": True,
|
| 51 |
}
|
| 52 |
}
|
| 53 |
|