File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
llmstack/processors/providers/promptly Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ class StaticWebBrowserConfiguration(ApiProcessorSchema):
4040 ge = 1 ,
4141 le = 100 ,
4242 )
43+ skip_tags : bool = Field (
44+ description = "Skip extracting tags. This will skip processing HTML tags and only return text content to speed up processing" ,
45+ default = True ,
46+ advanced_parameter = True ,
47+ )
4348
4449
4550class StaticWebBrowserInput (ApiProcessorSchema ):
@@ -132,7 +137,7 @@ def _request_iterator(
132137 )
133138 playwright_request .steps .append (input )
134139 playwright_request .url = self ._input .url
135- playwright_request .skip_tags = True
140+ playwright_request .skip_tags = self . _config . skip_tags
136141 playwright_request .timeout = (
137142 self ._config .timeout
138143 if self ._config .timeout and self ._config .timeout > 0 and self ._config .timeout <= 100
You can’t perform that action at this time.
0 commit comments