File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,8 @@ export const ParallelBlock: BlockConfig<ToolResponse> = {
213213 if ( params . max_chars_per_result ) {
214214 result . max_chars_per_result = Number ( params . max_chars_per_result )
215215 }
216- if ( params . search_include_domains ) result . include_domains = params . search_include_domains
217- if ( params . search_exclude_domains ) result . exclude_domains = params . search_exclude_domains
216+ result . include_domains = params . search_include_domains || undefined
217+ result . exclude_domains = params . search_exclude_domains || undefined
218218 }
219219
220220 if ( operation === 'extract' ) {
@@ -224,7 +224,7 @@ export const ParallelBlock: BlockConfig<ToolResponse> = {
224224 }
225225
226226 if ( operation === 'deep_research' ) {
227- result . input = params . research_input
227+ if ( params . research_input ) result . input = params . research_input
228228 if ( params . processor ) result . processor = params . processor
229229 }
230230
You can’t perform that action at this time.
0 commit comments